public class ReplayChannelImpl extends AbstractChannel implements ReplayChannel
AbstractChannel.AbstractInstrumentResolverAdaptor, AbstractChannel.InstrumentResolverAdaptor, AbstractChannel.MDSubscriptionInstrumentResolverAdaptor| Modifier and Type | Field and Description |
|---|---|
protected com.epam.bovespafast.impl.ReplayChannelImpl.ErrorListenerWrapper |
errorListener |
protected com.epam.common.logging.Log |
log |
context, dataSyncManager, instrumentListener, instrumentResolver, marketMessageSubscriber, messageListener, recoveryManager, stateProcessor, transportMessageSubscriber| Constructor and Description |
|---|
ReplayChannelImpl(MDChannel mdChannel,
RecoveryOptions recoveryOptions,
InputStream templateInputStream,
String interfaceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
subscribeSecId(String secId,
long start,
long end)
Subscribe to instrument to get messages from the specified range.
|
void |
subscribeSymbol(String symbol,
long start,
long end)
Subscribe to instrument to get messages from the specified range.
|
findInstrumentBySecID, findInstrumentBySymbol, findInstruments, getDataSyncManager, getErrorListener, getInstrumentListener, getMaxCircleCount, getMessageListener, getRecoveryManager, getSecNumHelper, getStateProcessor, getTemplateContainer, getTransportFactory, getTransportMessageSubscriber, resetInstruments, setErrorListener, setInstrumentListener, setMessageListener, stop, subscribeAll, subscribeChannel, subscribeSecGroup, subscribeSecId, subscribeSymbol, unSubscribeAll, unSubscribeChannel, unSubscribeSecGroup, unSubscribeSecId, unSubscribeSymbolclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetErrorListener, setInstrumentListener, subscribeAll, subscribeSymbol, unSubscribeAllprotected final com.epam.common.logging.Log log
protected com.epam.bovespafast.impl.ReplayChannelImpl.ErrorListenerWrapper errorListener
public ReplayChannelImpl(MDChannel mdChannel, RecoveryOptions recoveryOptions, InputStream templateInputStream, String interfaceName)
public void subscribeSecId(String secId, long start, long end) throws IOException
ReplayChannelsubscribeSecId in interface ReplayChannelsecId - the security IDstart - the recover start numberend - the recovery end numberIOException - - if error occurredpublic void subscribeSymbol(String symbol, long start, long end) throws IOException
ReplayChannelsubscribeSymbol in interface ReplayChannelsymbol - the symbol parameter valuestart - the recover start numberend - the recovery end numberIOException - - if error occurredCopyright © 2000–2025 EPAM Systems. All rights reserved.