B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Engine::ResendRequestEvent Class Reference

A Resend Request (MsgType = 2) has been received. More...

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::ResendRequestEvent:
+ Collaboration diagram for Engine::ResendRequestEvent:

Public Member Functions

int getBeginSeqNo () const
 Returns the message sequence number of first record in range to be resent (the BeginSeqNo field, tag = 7).
 
int getEndSeqNo () const
 Returns the message sequence number of last record in range to be resent (the EndSeqNo field, tag = 16).
 
int getGapEndSeqNo () const
 Returns gapEndSeqNo defined by setGapEndSeqNo;.
 
int getRequestSize () const
 Returns number of requested messages.
 
 ResendRequestEvent (const FIXMessage *resendRequestMsg, int beginSeqNum, int endSeqNum, const Session &sn)
 Constructor.
 
void setBeginSeqNo (int newBeginSeqNo) const
 Overrides BeginSeqNo field in the request.
 
void setEndSeqNo (int newEndSeqNo) const
 Overrides EndSeqNo field from the request.
 
void setGapEndSeqNo (int gapEndSeqNo) const
 Defines sub range [BeginSeqNo..gapEndSeqNo] that is filled with gap fill in the request.
 
virtual const std::string * what () const
 Reimplemented from SessionEvent.
 
virtual ~ResendRequestEvent ()
 Destructor.
 

Public Attributes

bool processResendRequest_
 If true resend request will be processed according to the standard.
 
const FIXMessageresendRequestMsg_
 The Resend Request message.
 

Additional Inherited Members

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

Detailed Description

A Resend Request (MsgType = 2) has been received.

Constructor & Destructor Documentation

◆ ResendRequestEvent()

Engine::ResendRequestEvent::ResendRequestEvent ( const FIXMessage * resendRequestMsg,
int beginSeqNum,
int endSeqNum,
const Session & sn )

Constructor.

◆ ~ResendRequestEvent()

virtual Engine::ResendRequestEvent::~ResendRequestEvent ( )
virtual

Destructor.

Member Function Documentation

◆ getBeginSeqNo()

int Engine::ResendRequestEvent::getBeginSeqNo ( ) const

Returns the message sequence number of first record in range to be resent (the BeginSeqNo field, tag = 7).

◆ getEndSeqNo()

int Engine::ResendRequestEvent::getEndSeqNo ( ) const

Returns the message sequence number of last record in range to be resent (the EndSeqNo field, tag = 16).

◆ getGapEndSeqNo()

int Engine::ResendRequestEvent::getGapEndSeqNo ( ) const

Returns gapEndSeqNo defined by setGapEndSeqNo;.

◆ getRequestSize()

int Engine::ResendRequestEvent::getRequestSize ( ) const

Returns number of requested messages.

◆ setBeginSeqNo()

void Engine::ResendRequestEvent::setBeginSeqNo ( int newBeginSeqNo) const

Overrides BeginSeqNo field in the request.

Warning
Changing BeginSeqNo results in non-standard behaviour. Please do not change it unless you are absolutely sure you need to change this behavior. For onResendRequestEvent only.

◆ setEndSeqNo()

void Engine::ResendRequestEvent::setEndSeqNo ( int newEndSeqNo) const

Overrides EndSeqNo field from the request.

Warning
Changing EndSeqNo results in non-standard behaviour. Please do not change it unless you are absolutely sure you need to change this behavior. For onResendRequestEvent only.

◆ setGapEndSeqNo()

void Engine::ResendRequestEvent::setGapEndSeqNo ( int gapEndSeqNo) const

Defines sub range [BeginSeqNo..gapEndSeqNo] that is filled with gap fill in the request.

Note
Set gapEndSeqNo equal to EndSeqNo to reply whole range with gap fill. For onResendRequestEvent only.

◆ what()

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

Reimplemented from SessionEvent.

See also
SessionEvent.

Implements Engine::SessionEvent.

Member Data Documentation

◆ processResendRequest_

bool Engine::ResendRequestEvent::processResendRequest_
mutable

If true resend request will be processed according to the standard.

This is the default behaviour. If false resend request will be ignored i.e. neither messages will be resent nor gap fill will be sent. Output parameter. Default is true.

Warning
Setting this parameter to false results in non-standard behaviour. Please do not change this parameter unless you are absolutely sure you need to change this behavior.

◆ resendRequestMsg_

const FIXMessage* Engine::ResendRequestEvent::resendRequestMsg_

The Resend Request message.