public abstract class AbstractInstrumentMessageProcessor<T> extends Object implements InstrumentMessageProcessor<T>
Modifier and Type | Field and Description |
---|---|
protected Log |
log |
protected static int |
MAX_DEFAULT_PACKETS_DELTA |
protected InstrumentListener |
messageListener |
protected StateProcessor |
stateProcessor |
Modifier | Constructor and Description |
---|---|
protected |
AbstractInstrumentMessageProcessor(InstrumentListener messageListener,
StateProcessor stateProcessor) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
processInternal(Instrument instrument,
T msg) |
boolean |
processMessage(Instrument instrument,
T msg)
Process message.
|
protected final Log log
protected static final int MAX_DEFAULT_PACKETS_DELTA
protected final InstrumentListener messageListener
protected final StateProcessor stateProcessor
protected AbstractInstrumentMessageProcessor(InstrumentListener messageListener, StateProcessor stateProcessor)
public boolean processMessage(Instrument instrument, T msg)
InstrumentMessageProcessor
processMessage
in interface InstrumentMessageProcessor<T>
protected abstract boolean processInternal(Instrument instrument, T msg)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.