A Resend Request (MsgType = 2) has been received.
More...
#include <B2BITS_SessionEvent.h>
|
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.
|
|
A Resend Request (MsgType = 2) has been received.
◆ ResendRequestEvent()
Engine::ResendRequestEvent::ResendRequestEvent |
( |
const FIXMessage * | resendRequestMsg, |
|
|
int | beginSeqNum, |
|
|
int | endSeqNum, |
|
|
const Session & | sn ) |
◆ ~ResendRequestEvent()
virtual Engine::ResendRequestEvent::~ResendRequestEvent |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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.