|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Channel
Method Summary | |
---|---|
void |
findInstrumentBySecID(java.lang.String secId,
SecurityDefinitionListener securityDefinitionListener)
Finds instrument in channel. |
void |
findInstrumentBySymbol(java.lang.String symbol,
SecurityDefinitionListener securityListener)
Finds instrument in channel. |
void |
findInstruments(SecurityDefinitionListener securityDefinitionListener)
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 |
subscribeAll()
Subscribe for all instruments. |
boolean |
subscribeChannel(java.lang.String channelID)
Subscribe to instruments on channel. |
void |
subscribeSecGroup(java.lang.String secGroup)
Subscribe to instrument. |
void |
subscribeSecId(java.lang.String secId)
Subscribe to instrument. |
void |
subscribeSymbol(java.lang.String symbol)
Subscribe to instrument. |
void |
unSubscribeAll()
UnSubscribe from instruments. |
void |
unSubscribeChannel(java.lang.String channelID)
Unsubscribe from instruments on channel. |
void |
unSubscribeSecGroup(java.lang.String secGroup)
UnSubscribe to instrument. |
void |
unSubscribeSecId(java.lang.String secId)
UnSubscribe to instrument. |
void |
unSubscribeSymbol(java.lang.String symbol)
UnSubscribe from instrument. |
Method Detail |
---|
void stop() throws java.io.IOException
java.io.IOException
- - if error occurredvoid setInstrumentListener(InstrumentListener instrumentListener)
instrumentListener
- the instrument listenervoid setMessageListener(MessageListener messageListener)
messageListener
- the message listenervoid setErrorListener(ErrorListener errorListener)
errorListener
- the error listenervoid findInstruments(SecurityDefinitionListener securityDefinitionListener) throws java.io.IOException
securityDefinitionListener
- the callback listener.
java.io.IOException
- - if error occurredvoid findInstrumentBySymbol(java.lang.String symbol, SecurityDefinitionListener securityListener) throws java.io.IOException
symbol
- the symbolsecurityListener
- the listener
java.io.IOException
- - if error occurredvoid findInstrumentBySecID(java.lang.String secId, SecurityDefinitionListener securityDefinitionListener) throws java.io.IOException
secId
- the security IdsecurityDefinitionListener
- the listener
java.io.IOException
- - if error occurredvoid subscribeAll() throws java.io.IOException
java.io.IOException
- - if error occurredvoid unSubscribeAll() throws java.io.IOException
java.io.IOException
- - if error occurredvoid subscribeSymbol(java.lang.String symbol) throws java.io.IOException
symbol
- the symbol
java.io.IOException
- - if error occurredvoid unSubscribeSymbol(java.lang.String symbol) throws java.io.IOException
symbol
- the symbol
java.io.IOException
- - if error occurredvoid subscribeSecId(java.lang.String secId) throws java.io.IOException
secId
- the security ID
java.io.IOException
- - if error occurredvoid unSubscribeSecId(java.lang.String secId) throws java.io.IOException
secId
- the security ID
java.io.IOException
- - if error occurredvoid subscribeSecGroup(java.lang.String secGroup) throws java.io.IOException
secGroup
- the security group
java.io.IOException
- - if error occurredvoid unSubscribeSecGroup(java.lang.String secGroup) throws java.io.IOException
secGroup
- the security group
java.io.IOException
- - if error occurredboolean subscribeChannel(java.lang.String channelID) throws java.io.IOException
channelID
- unique id of channel
java.io.IOException
- - if error occurredvoid unSubscribeChannel(java.lang.String channelID) throws java.io.IOException
channelID
- unique id of channel
java.io.IOException
- - if error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |