B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Bats::SequenceParams Struct Reference

Sequence processing parameters. More...

#include <B2BITS_BatsApplication.h>

Public Member Functions

 SequenceParams ()
 

Public Attributes

System::u32 cacheSize
 Maximum number of incoming messages allowed to be cached.
 
System::u16 gapRequestLimit
 Maximum number of messages that can be requested at once from GRP server.
 
System::u32 replayDelaySize
 Replay delay (messages).
 
System::u32 replayTimeoutMS
 Time to replay(msec).
 
System::u32 spinCacheSize
 Maximum number of incoming UDP packets allowed to be stored during recovery process.
 

Detailed Description

Sequence processing parameters.

Constructor & Destructor Documentation

◆ SequenceParams()

Bats::SequenceParams::SequenceParams ( )
inline

Member Data Documentation

◆ cacheSize

System::u32 Bats::SequenceParams::cacheSize

Maximum number of incoming messages allowed to be cached.

Normally, when out-of-order UDP packet is received, GRP replay is not started immediately. Unit service caches incoming packet in memory and proceeds receiving data (see replayDelaySize). If all missed packets are received, service will line them up in correct order and continue normal processing. This parameter specifies size of the cache. When number of cached messages exceeds the limit, service clean out the cache and initiates recovery process (from Spin server)
Default value: 1000

◆ gapRequestLimit

System::u16 Bats::SequenceParams::gapRequestLimit

Maximum number of messages that can be requested at once from GRP server.


Default value: 100

◆ replayDelaySize

System::u32 Bats::SequenceParams::replayDelaySize

Replay delay (messages).

This parameter specifies the number of messages service should wait before initiating replay from GRP server. This is difference between last received sequence number and last processed(ordered) sequence number.
Default value: 10

◆ replayTimeoutMS

System::u32 Bats::SequenceParams::replayTimeoutMS

Time to replay(msec).

How many msecs to wait after replay has been initiated, before service is allowed to initiate another replay.
Default value: 50

◆ spinCacheSize

System::u32 Bats::SequenceParams::spinCacheSize

Maximum number of incoming UDP packets allowed to be stored during recovery process.

While TCP session with Spin server is in progress, unit service caches all incoming multicast packets in memory, to process them later when TCP session is done. This parameter specifies the size of the cache. When limit is reached, recovery is considered as failed and started from the beginning.
Default value: 50000