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

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.