B2BITS FIX Antenna C++  2.27.0
Public Member Functions | Public Attributes | List of all members
Engine::SequenceGapEvent Class Reference

The sequence gap was detected in incoming messages. More...

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::SequenceGapEvent:
+ Collaboration diagram for Engine::SequenceGapEvent:

Public Member Functions

 SequenceGapEvent (FIXMessage const *pMsg, int expectedSeqNum)
 Constructor. More...
 
virtual const std::string * what () const
 Reimplemented from SessionEvent. More...
 

Public Attributes

int m_expectedSeqNum
 Expected MsgSeqNum. More...
 
const FIXMessagem_pMsg
 The received message. More...
 
int m_receivedSeqNum
 MsgSeqNum of the received message. More...
 
bool requestLostMessagesFlag_
 
If true, session will request lost message automatically by sending ResendRequest message; if false, it is user's responsibility to recover lost messages. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Engine::SessionEvent
virtual ~SessionEvent ()
 Destructor. More...
 

Detailed Description

The sequence gap was detected in incoming messages.

Constructor & Destructor Documentation

◆ SequenceGapEvent()

Engine::SequenceGapEvent::SequenceGapEvent ( FIXMessage const *  pMsg,
int  expectedSeqNum 
)

Constructor.

Member Function Documentation

◆ what()

virtual const std::string* Engine::SequenceGapEvent::what ( ) const
virtual

Reimplemented from SessionEvent.

See also
SessionEvent

Implements Engine::SessionEvent.

Member Data Documentation

◆ m_expectedSeqNum

int Engine::SequenceGapEvent::m_expectedSeqNum

Expected MsgSeqNum.

◆ m_pMsg

const FIXMessage* Engine::SequenceGapEvent::m_pMsg

The received message.

◆ m_receivedSeqNum

int Engine::SequenceGapEvent::m_receivedSeqNum

MsgSeqNum of the received message.

◆ requestLostMessagesFlag_

bool Engine::SequenceGapEvent::requestLostMessagesFlag_
mutable


If true, session will request lost message automatically by sending ResendRequest message; if false, it is user's responsibility to recover lost messages.

If case of false, incoming message sequence number will be updated automatically.

Default value is true.