itch-mold-replay 1.0
Time-accurate NASDAQ TotalView-ITCH 5.0 replay over MoldUDP64
Loading...
Searching...
No Matches
types.h File Reference
#include <cstdint>
#include <array>

Go to the source code of this file.

Namespaces

namespace  imr
 
namespace  imr::mold
 
namespace  imr::mold::types
 
namespace  imr::mold::types::header
 

Typedefs

using imr::mold::types::header::Session = std::array< char, 10 >
 
using imr::mold::types::header::SequenceNumber = std::uint64_t
 
using imr::mold::types::header::MessageCount = std::uint16_t
 
using imr::mold::types::LengthPrefix = std::uint16_t
 

Variables

constexpr std::size_t imr::mold::types::header::length {sizeof(Session) + sizeof(SequenceNumber) + sizeof(MessageCount)}
 
constexpr std::size_t imr::mold::types::header::session_offset {0}
 
constexpr std::size_t imr::mold::types::header::sequence_number_offset {sizeof(Session)}
 
constexpr std::size_t imr::mold::types::header::message_count_offset {sequence_number_offset + sizeof(SequenceNumber)}
 
constexpr std::size_t imr::mold::types::header::message_block_offset {message_count_offset + sizeof(MessageCount)}
 
constexpr MessageCount imr::mold::types::header::heartbeat_msg_count {0}
 
constexpr MessageCount imr::mold::types::header::end_of_session_msg_count {0xFFFF}