ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::nasdaq::moldudp64::SequencerImpl::Traits Struct Reference

Type traits for the sequencer. More...

Detailed Description

Type traits for the sequencer.

Defines the types and constants used by the generic Sequencer template when specialized for MoldUDP64 protocol.

#include <nasdaq/moldudp64/Sequencer.h>

Public Types

using SeqNum = std::uint64_t
 Sequence number type (64-bit unsigned for MoldUDP64).
using MsgType = const MessageBlock*
 Message type (pointer to MessageBlock).
using PacketType = UDPPacket
 Packet type for parsing incoming datagrams.

Static Public Member Functions

static MsgType null_message ()
 Get a null message sentinel value.

Static Public Attributes

static constexpr unsigned ChunkSize = 4096
 Memory pool chunk size in bytes (4KB chunks).
static constexpr unsigned NumChunks = 10
 Number of memory pool chunks (40KB total).

Member Typedef Documentation

◆ MsgType

◆ PacketType

Packet type for parsing incoming datagrams.

◆ SeqNum

Sequence number type (64-bit unsigned for MoldUDP64).

Member Function Documentation

◆ null_message()

MsgType b2bits::nasdaq::moldudp64::SequencerImpl::Traits::null_message ( )
inlinestatic

Get a null message sentinel value.

Returns a null pointer to represent "no message" in the sequencer. Used for gap placeholders and uninitialized slots.

Returns
nullptr as the null message indicator

Member Data Documentation

◆ ChunkSize

unsigned b2bits::nasdaq::moldudp64::SequencerImpl::Traits::ChunkSize = 4096
staticconstexpr

Memory pool chunk size in bytes (4KB chunks).

◆ NumChunks

unsigned b2bits::nasdaq::moldudp64::SequencerImpl::Traits::NumChunks = 10
staticconstexpr

Number of memory pool chunks (40KB total).


The documentation for this struct was generated from the following file: