com.quotemedia.streamer.client.impl.QmciMessageMixin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of streamerclient-java-core Show documentation
Show all versions of streamerclient-java-core Show documentation
Java streaming client that provides easy-to-use client APIs to connect and subscribe to QuoteMedia's market data streaming services. https://quotemedia.com/
The newest version!
package com.quotemedia.streamer.client.impl;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.NoClass;
import com.quotemedia.datacache.messaging.impl.Quote;
import com.quotemedia.streamer.messages.json.Json;
import com.quotemedia.streamer.messages.json.JsonTypeNames;
import com.quotemedia.streamer.messages.qmci.SymbolInfo;
import com.quotemedia.streamer.messages.qmci.SymbolStatus;
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
property = Json.JSON_TYPE_PROPERTY,
defaultImpl = NoClass.class)
// subtypes must be registered for deserialization to work
@JsonSubTypes({
@JsonSubTypes.Type(value = SymbolInfo.class, name = JsonTypeNames.Data.SYMBOLINFO),
@JsonSubTypes.Type(value = SymbolStatus.class, name = JsonTypeNames.Data.SYMBOLSTATUS)
})
public class QmciMessageMixin {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy