| Constructor and Description |
|---|
CMEChannel(CMEApplicationParam applicationParams) |
CMEChannel(CMEApplicationParam applicationParams,
FastChannelReader reader) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doNaturalRefresh(String secDesc,
long secID,
List<com.epam.fix.message.FIXFieldList> groupEntries) |
void |
findInstrumentBySecID(String secId,
SecurityDefinitionListener securityListener)
Finds instrument in channel.
|
void |
findInstrumentBySymbol(String symbol,
SecurityDefinitionListener securityListener)
Finds instrument in channel.
|
void |
findInstruments(SecurityDefinitionListener securityListener)
Finds all instrument in channel.
|
void |
setErrorListener(ErrorListener errorListener)
Sets error listener.
|
void |
setInstrumentListener(InstrumentListener instrumentListener)
Sets instrument listener.
|
void |
setMessageListener(MessageListener messageListener)
Sets message listener.
|
void |
stop()
Stop channel and close opened connections.
|
void |
stopFindInstrumentBySecID(String secId,
SecurityDefinitionListener securityListener) |
void |
stopFindInstrumentBySymbol(String symbol,
SecurityDefinitionListener securityListener) |
void |
stopFindInstruments(SecurityDefinitionListener securityListener) |
void |
subscribeAll()
Subscribe for all instruments.
|
boolean |
subscribeChannel(String channelID)
Subscribe to instruments on channel.
|
void |
subscribeSecGroup(String secGroup)
Subscribe to instrument.
|
void |
subscribeSecId(String secId)
Subscribe to instrument.
|
void |
subscribeSymbol(String symbol)
Subscribe to instrument.
|
void |
unSubscribeAll()
UnSubscribe from instruments.
|
void |
unSubscribeChannel(String channelID)
Unsubscribe from instruments on channel.
|
void |
unSubscribeSecGroup(String secGroup)
UnSubscribe to instrument.
|
void |
unSubscribeSecId(String secId)
UnSubscribe to instrument.
|
void |
unSubscribeSymbol(String symbol)
UnSubscribe from instrument.
|
public CMEChannel(CMEApplicationParam applicationParams)
public CMEChannel(CMEApplicationParam applicationParams, FastChannelReader reader)
public void setInstrumentListener(InstrumentListener instrumentListener)
ChannelsetInstrumentListener in interface ChannelinstrumentListener - the instrument listenerpublic void setMessageListener(MessageListener messageListener)
ChannelsetMessageListener in interface ChannelmessageListener - the message listenerpublic void setErrorListener(ErrorListener errorListener)
ChannelsetErrorListener in interface ChannelerrorListener - the error listenerpublic void findInstruments(SecurityDefinitionListener securityListener) throws IOException
ChannelfindInstruments in interface ChannelsecurityListener - the callback listener.IOException - - if error occurredpublic void stopFindInstruments(SecurityDefinitionListener securityListener) throws IOException
IOExceptionpublic void findInstrumentBySymbol(String symbol, SecurityDefinitionListener securityListener) throws IOException
ChannelfindInstrumentBySymbol in interface Channelsymbol - the symbolsecurityListener - the listenerIOException - - if error occurredpublic void stopFindInstrumentBySymbol(String symbol, SecurityDefinitionListener securityListener) throws IOException
IOExceptionpublic void findInstrumentBySecID(String secId, SecurityDefinitionListener securityListener) throws IOException
ChannelfindInstrumentBySecID in interface ChannelsecId - the security IdsecurityListener - the listenerIOException - - if error occurredpublic void stopFindInstrumentBySecID(String secId, SecurityDefinitionListener securityListener) throws IOException
IOExceptionpublic void subscribeAll()
throws IOException
ChannelsubscribeAll in interface ChannelIOException - - if error occurredpublic void unSubscribeAll()
throws IOException
ChannelunSubscribeAll in interface ChannelIOException - - if error occurredpublic void subscribeSymbol(String symbol) throws IOException
ChannelsubscribeSymbol in interface Channelsymbol - the symbolIOException - - if error occurredpublic void unSubscribeSymbol(String symbol)
ChannelunSubscribeSymbol in interface Channelsymbol - the symbolpublic void subscribeSecId(String secId) throws IOException
ChannelsubscribeSecId in interface ChannelsecId - the security IDIOException - - if error occurredpublic void unSubscribeSecId(String secId)
ChannelunSubscribeSecId in interface ChannelsecId - the security IDpublic boolean subscribeChannel(String channelID) throws IOException
ChannelsubscribeChannel in interface ChannelchannelID - unique id of channelIOException - - if error occurredpublic void unSubscribeChannel(String channelID) throws IOException
ChannelunSubscribeChannel in interface ChannelchannelID - unique id of channelIOException - - if error occurredpublic void subscribeSecGroup(String secGroup) throws IOException
ChannelsubscribeSecGroup in interface ChannelsecGroup - the security groupIOException - - if error occurredpublic void unSubscribeSecGroup(String secGroup)
ChannelunSubscribeSecGroup in interface ChannelsecGroup - the security groupprotected boolean doNaturalRefresh(String secDesc, long secID, List<com.epam.fix.message.FIXFieldList> groupEntries)
Copyright © 2000–2025 EPAM Systems. All rights reserved.