itch-mold-replay 1.0
Time-accurate NASDAQ TotalView-ITCH 5.0 replay over MoldUDP64
Loading...
Searching...
No Matches
imr::mold::downstream::Feed::Config Struct Reference

#include <feed.h>

Public Attributes

util::zstring_view mcast_group
 Multicast group to send to.
 
std::uint16_t port
 Multicast port.
 
std::uint8_t ttl {1}
 Sets IP_MULTICAST_TTL.
 
bool loopback {false}
 Enable/Disable IP_MULTICAST_LOOP.
 
in_addr egress_interface {.s_addr = htonl(INADDR_ANY)}
 Interface to send multicast packets from (IP_MULTICAST_IF).
 
std::chrono::nanoseconds heartbeat_period {std::chrono::seconds(1)}
 Interval between heartbeat packets while the feed is running.
 
std::chrono::nanoseconds end_of_session_duration {std::chrono::seconds(30)}
 How long end of session should send packets.
 
Pacer< std::chrono::steady_clock >::Config pacer_cfg {}
 Controls playback speed and pre-market message skipping.
 

Member Data Documentation

◆ mcast_group

util::zstring_view imr::mold::downstream::Feed::Config::mcast_group

Multicast group to send to.

◆ port

std::uint16_t imr::mold::downstream::Feed::Config::port

Multicast port.

◆ ttl

std::uint8_t imr::mold::downstream::Feed::Config::ttl {1}

Sets IP_MULTICAST_TTL.

◆ loopback

bool imr::mold::downstream::Feed::Config::loopback {false}

Enable/Disable IP_MULTICAST_LOOP.

◆ egress_interface

in_addr imr::mold::downstream::Feed::Config::egress_interface {.s_addr = htonl(INADDR_ANY)}

Interface to send multicast packets from (IP_MULTICAST_IF).

Set explicitly in multi nic environment.

◆ heartbeat_period

std::chrono::nanoseconds imr::mold::downstream::Feed::Config::heartbeat_period {std::chrono::seconds(1)}

Interval between heartbeat packets while the feed is running.

This is also the interval of the end of session packets.

◆ end_of_session_duration

std::chrono::nanoseconds imr::mold::downstream::Feed::Config::end_of_session_duration {std::chrono::seconds(30)}

How long end of session should send packets.

◆ pacer_cfg

Pacer<std::chrono::steady_clock>::Config imr::mold::downstream::Feed::Config::pacer_cfg {}

Controls playback speed and pre-market message skipping.


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