Public Types | Public Member Functions | Public Attributes

Globex::MDApplicationParams Struct Reference

Startup parameters. More...

#include <B2BITS_MDApplication.h>

Collaboration diagram for Globex::MDApplicationParams:

List of all members.

Public Types

typedef std::vector
< ChannelConnection
ActiveConnections
enum  Transport { Sockets, MyricomDBL }
 

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 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.
size_t incomingUdpBufferSize_
 UDP incoming buffer size.
std::string incrementalProcessorInterfaceIP_
 IP of network interface to listen on for separate "X" processing; nullptr or empty 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 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.
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.

Definition at line 85 of file B2BITS_MDApplication.h.


Member Typedef Documentation

Definition at line 142 of file B2BITS_MDApplication.h.


Member Enumeration Documentation

Type of transport layer.

Sockets - standard IP sockets MyricomDBL - Myricom Datagram Bypass Layer

Enumerator:
Sockets 
MyricomDBL 

Definition at line 90 of file B2BITS_MDApplication.h.


Constructor & Destructor Documentation

Globex::MDApplicationParams::MDApplicationParams (  ) [inline]

Definition at line 92 of file B2BITS_MDApplication.h.


Member Data Documentation

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

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

Definition at line 149 of file B2BITS_MDApplication.h.

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

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

Definition at line 145 of file B2BITS_MDApplication.h.

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

Default value is true

Definition at line 136 of file B2BITS_MDApplication.h.

Path to the CME FIX/FAST 2.0 configuration file.

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

Definition at line 124 of file B2BITS_MDApplication.h.

Path to the CME configuration file.

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

Definition at line 120 of file B2BITS_MDApplication.h.

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

Default value is 1

Definition at line 169 of file B2BITS_MDApplication.h.

UDP incoming buffer size.

Should be tuned in case of UDP message miss

Definition at line 153 of file B2BITS_MDApplication.h.

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

Default value is null (all interfaces)

Definition at line 181 of file B2BITS_MDApplication.h.

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

Definition at line 185 of file B2BITS_MDApplication.h.

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

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

Definition at line 177 of file B2BITS_MDApplication.h.

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

Default value is 50

Definition at line 132 of file B2BITS_MDApplication.h.

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

Default value is null (all interfaces)

Definition at line 140 of file B2BITS_MDApplication.h.

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

Definition at line 157 of file B2BITS_MDApplication.h.

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

Definition at line 161 of file B2BITS_MDApplication.h.

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

Definition at line 128 of file B2BITS_MDApplication.h.

Path to the CME FAST templates file.

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

Definition at line 116 of file B2BITS_MDApplication.h.

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

Definition at line 165 of file B2BITS_MDApplication.h.

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

Definition at line 173 of file B2BITS_MDApplication.h.