public class TransportMessageSubscriber extends Object
Modifier and Type | Field and Description |
---|---|
protected com.epam.common.logging.Log |
log |
Constructor and Description |
---|
TransportMessageSubscriber(TransportFactory transportFactory,
boolean isUseReplay) |
public TransportMessageSubscriber(TransportFactory transportFactory, boolean isUseReplay)
public void subscribeToIncremental(StreamListener streamListener) throws IOException
IOException
public void setIncrementalStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void removeIncrementalStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void removeSubscriptionToIncremental(StreamListener streamListener) throws IOException
IOException
public void subscribeToRecovery(StreamListener streamListener) throws IOException
IOException
public void removeSubscriptionToRecovery(StreamListener streamListener) throws IOException
IOException
public void setRecoveryStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void removeRecoveryStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void subscribeToInstrument(StreamListener streamListener) throws IOException
IOException
public void removeSubscriptionToInstrument(StreamListener streamListener) throws IOException
IOException
public void setInstrumentStreamStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void removeInstrumentStreamStreamMessageListener(StreamListener streamListener) throws IOException
streamListener
- the stream listenerIOException
public void subscribeToReplay(StreamListener streamListener) throws IOException
IOException
public void removeSubscriptionToReplay(StreamListener streamListener) throws IOException
IOException
public void dispose()
Copyright © 2000–2025 EPAM Systems. All rights reserved.