public class OutOfSeqMsgHandler extends AbstractGlobalMessageHandler
logIsTraceEnabled
Constructor and Description |
---|
OutOfSeqMsgHandler() |
Modifier and Type | Method and Description |
---|---|
protected com.epam.fixengine.session.SessionSequenceManager |
getSequenceManager() |
void |
onNewMessage(FIXFieldList message)
If incoming sequence is equals to expected the next handler will be calls.
|
protected void |
processMessageWithExpectedSeqNum(FIXFieldList message,
long incomingSeqNum) |
protected void |
processMessageWithHighSeqNum(FIXFieldList message,
long incomingSeqNum,
long expectedSeqNum)
Process message with high seq num.
|
protected void |
processMessageWithLowSeqNum(FIXFieldList message,
long incomingSeqNum,
long expectedSeqNum)
Process message with low seq num.
|
void |
setFIXSession(ExtendedFIXSession fixSession)
Sets the extended fix session.
|
callNextHandler, getNext, setNext
getFIXSession, logErrorToSession, logWarnToSession
public void onNewMessage(FIXFieldList message)
message
- the received message.public void setFIXSession(ExtendedFIXSession fixSession)
SessionMessageHandler
setFIXSession
in interface SessionMessageHandler
setFIXSession
in class AbstractSessionMessageHandler
fixSession
- the extended fix sessionprotected com.epam.fixengine.session.SessionSequenceManager getSequenceManager()
protected void processMessageWithExpectedSeqNum(FIXFieldList message, long incomingSeqNum)
protected void processMessageWithHighSeqNum(FIXFieldList message, long incomingSeqNum, long expectedSeqNum)
message
- the messageincomingSeqNum
- the incoming seq numexpectedSeqNum
- the expected seq numprotected void processMessageWithLowSeqNum(FIXFieldList message, long incomingSeqNum, long expectedSeqNum)
message
- the messageincomingSeqNum
- the incoming seq numexpectedSeqNum
- the expected seq numCopyright © 2000–2022 EPAM Systems. All rights reserved.