public interface ReplayChannel
Modifier and Type | Method and Description |
---|---|
void |
setErrorListener(ErrorListener errorListener)
Sets error listener.
|
void |
setInstrumentListener(InstrumentListener instrumentListener)
Sets instrument listener.
|
void |
subscribeAll()
Subscribe for all instruments.
|
void |
subscribeSecId(String secId,
long start,
long end)
Subscribe to instrument to get messages from the specified range.
|
void |
subscribeSymbol(String symbol)
Subscribe to instrument.
|
void |
subscribeSymbol(String symbol,
long start,
long end)
Subscribe to instrument to get messages from the specified range.
|
void |
unSubscribeAll()
UnSubscribe from instruments.
|
void subscribeSecId(String secId, long start, long end) throws IOException
secId
- the security IDstart
- the recover start numberend
- the recovery end numberIOException
- - if error occurredvoid subscribeSymbol(String symbol, long start, long end) throws IOException
symbol
- the symbol parameter valuestart
- the recover start numberend
- the recovery end numberIOException
- - if error occurredvoid setInstrumentListener(InstrumentListener instrumentListener)
instrumentListener
- the instrument listenervoid setErrorListener(ErrorListener errorListener)
errorListener
- the error listenervoid subscribeSymbol(String symbol) throws IOException
symbol
- the symbolIOException
- - if error occurredvoid subscribeAll() throws IOException
IOException
- - if error occurredvoid unSubscribeAll() throws IOException
IOException
- - if error occurredCopyright © 2000-2017 EPAM Systems. All Rights Reserved.