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

Startup parameters. More...

#include <B2BITS_MDApplication.h>

+ Collaboration diagram for Globex::MDApplicationParams:

Public Types

typedef std::vector< ChannelConnectionActiveConnections
 
enum  Transport { Sockets , MyricomDBL , MyricomSNF }
 Type of transport layer. More...
 

Public Member Functions

 MDApplicationParams ()
 

Public Attributes

ActiveConnections activeConnections20_
 List of channel connection to use; empty means all connections are allowed.
 
ActiveConnections activeConnections_
 List of channel connection to use; empty means all connections are allowed.
 
bool bindToInterface_
 
bool checkUDPSender_
 Pass true to check the UDP packet sender's IP address.
 
std::string config20Xml_
 Path to the CME FIX/FAST 2.0 configuration file.
 
std::string configXml_
 Path to the CME configuration file.
 
size_t detectionHolePackDelay_
 Number of incoming messages with seq num out of order to skip before start recovery.
 
bool experimentalLogic_
 enable exerimental logic Default value is false
 
std::string feedAListenInterfaceIP_
 IP of network interface to listen for messages for Feed A; nullptr or empty std::string means all interfaces.
 
std::string feedBListenInterfaceIP_
 IP of network interface to listen for messages for Feed B; nullptr or empty std::string means all interfaces.
 
size_t incomingUdpBufferSize_
 UDP incoming buffer size.
 
std::string incrementalProcessorInterfaceIP_
 IP of network interface to listen on for separate "X" processing; nullptr or empty std::string means all interfaces.
 
Transport incrementalProcessorTransportType_
 Transport layer for data reading by separated "X" threads Default value is Transport::Sockets.
 
size_t incrementalProcessorWorkerCount_
 Number of separate threads to decode incoming "X" messages.
 
size_t incrementQueueSize_
 Maximum number of messages could be stored in recovery mode for the particular instrument.
 
std::string listenInterfaceIP_
 IP of network interface to listen on; nullptr or empty std::string means all interfaces.
 
bool logIncomingMessages_
 Pass true to write out to the log file incoming FIX messages Default value is false.
 
bool logIncomingUdpMessages_
 Pass true to write out to the binary log file incoming FAST messages Default value is false.
 
size_t numberOfWorkers_
 Number of threads to decode incoming data Default value is 4.
 
TCPReplayParams tcpReplayParams_
 Params for TCPReplay recovery mode.
 
std::string templatesFn_
 Path to the CME FAST templates file.
 
Transport transportType_
 Transport layer for data reading Default value is Transport::Sockets.
 
bool useMsgSeqNumForGapDetection_
 Pass true to use tag 34 for detect gaps Default value is false.
 

Detailed Description

Startup parameters.

Member Typedef Documentation

◆ ActiveConnections

Member Enumeration Documentation

◆ Transport

Type of transport layer.

Enumerator
Sockets 

standard IP sockets

MyricomDBL 

Myricom datagram kernel bypass Layer.

MyricomSNF 

Myricom sniffer kernel bypass Layer.

Constructor & Destructor Documentation

◆ MDApplicationParams()

Globex::MDApplicationParams::MDApplicationParams ( )
inline

Member Data Documentation

◆ activeConnections20_

ActiveConnections Globex::MDApplicationParams::activeConnections20_

List of channel connection to use; empty means all connections are allowed.

Default value is empty (all connections from configXml are used)

◆ activeConnections_

ActiveConnections Globex::MDApplicationParams::activeConnections_

List of channel connection to use; empty means all connections are allowed.

Default value is empty (all connections from configXml are used)

◆ bindToInterface_

bool Globex::MDApplicationParams::bindToInterface_

◆ checkUDPSender_

bool Globex::MDApplicationParams::checkUDPSender_

Pass true to check the UDP packet sender's IP address.

Default value is true

◆ config20Xml_

std::string Globex::MDApplicationParams::config20Xml_

Path to the CME FIX/FAST 2.0 configuration file.

Note
Should be downloaded from ftp://ftp.cmegroup.com

◆ configXml_

std::string Globex::MDApplicationParams::configXml_

Path to the CME configuration file.

Note
Should be downloaded from ftp://ftp.cmegroup.com

◆ detectionHolePackDelay_

size_t Globex::MDApplicationParams::detectionHolePackDelay_

Number of incoming messages with seq num out of order to skip before start recovery.

Default value is 1

◆ experimentalLogic_

bool Globex::MDApplicationParams::experimentalLogic_

enable exerimental logic Default value is false

◆ feedAListenInterfaceIP_

std::string Globex::MDApplicationParams::feedAListenInterfaceIP_

IP of network interface to listen for messages for Feed A; nullptr or empty std::string means all interfaces.

Default value is null (all interfaces)

Note
This parameter cannot be used with parameters listenInterfaceIP_ or incrementalProcessorInterfaceIP_.
This parameter is supported Sockets transport only.

◆ feedBListenInterfaceIP_

std::string Globex::MDApplicationParams::feedBListenInterfaceIP_

IP of network interface to listen for messages for Feed B; nullptr or empty std::string means all interfaces.

Default value is null (all interfaces)

Note
This parameter cannot be used with parameters listenInterfaceIP_ or incrementalProcessorInterfaceIP_.
This parameter is supported Sockets transport only.

◆ incomingUdpBufferSize_

size_t Globex::MDApplicationParams::incomingUdpBufferSize_

UDP incoming buffer size.

Should be tuned in case of UDP message miss

◆ incrementalProcessorInterfaceIP_

std::string Globex::MDApplicationParams::incrementalProcessorInterfaceIP_

IP of network interface to listen on for separate "X" processing; nullptr or empty std::string means all interfaces.

Default value is null (all interfaces)

◆ incrementalProcessorTransportType_

Transport Globex::MDApplicationParams::incrementalProcessorTransportType_

Transport layer for data reading by separated "X" threads Default value is Transport::Sockets.

◆ incrementalProcessorWorkerCount_

size_t Globex::MDApplicationParams::incrementalProcessorWorkerCount_

Number of separate threads to decode incoming "X" messages.

(0 - disable separate processing of "X" Default value is 0

◆ incrementQueueSize_

size_t Globex::MDApplicationParams::incrementQueueSize_

Maximum number of messages could be stored in recovery mode for the particular instrument.

Default value is 50

◆ listenInterfaceIP_

std::string Globex::MDApplicationParams::listenInterfaceIP_

IP of network interface to listen on; nullptr or empty std::string means all interfaces.

Default value is null (all interfaces)

◆ logIncomingMessages_

bool Globex::MDApplicationParams::logIncomingMessages_

Pass true to write out to the log file incoming FIX messages Default value is false.

◆ logIncomingUdpMessages_

bool Globex::MDApplicationParams::logIncomingUdpMessages_

Pass true to write out to the binary log file incoming FAST messages Default value is false.

◆ numberOfWorkers_

size_t Globex::MDApplicationParams::numberOfWorkers_

Number of threads to decode incoming data Default value is 4.

◆ tcpReplayParams_

TCPReplayParams Globex::MDApplicationParams::tcpReplayParams_

Params for TCPReplay recovery mode.

◆ templatesFn_

std::string Globex::MDApplicationParams::templatesFn_

Path to the CME FAST templates file.

Note
Should be downloaded from ftp://ftp.cmegroup.com

◆ transportType_

Transport Globex::MDApplicationParams::transportType_

Transport layer for data reading Default value is Transport::Sockets.

◆ useMsgSeqNumForGapDetection_

bool Globex::MDApplicationParams::useMsgSeqNumForGapDetection_

Pass true to use tag 34 for detect gaps Default value is false.