PolygonStreamListenerAdapterpublic interface PolygonStreamListener
addPolygonStreamListener
method. When the ChannelMessage event occurs, that object's appropriate method is invoked.ChannelMessage| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.Set<ChannelType>> |
getStockChannelTypes() |
Gets the stock channel types.
|
void |
streamUpdate(java.lang.String ticker,
ChannelType channelType,
ChannelMessage message) |
Stream update.
|
java.util.Map<java.lang.String,java.util.Set<ChannelType>> getStockChannelTypes()
void streamUpdate(java.lang.String ticker,
ChannelType channelType,
ChannelMessage message)
ticker - the tickerchannelType - the channel typemessage - the message