B2BITS FIX Antenna C++ 2.33.0
|
Startup parameters. More...
#include <B2BITS_MDApplication.h>
Public Types | |
typedef std::vector< ChannelConnection > | ActiveConnections |
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. | |
Startup parameters.
typedef std::vector<ChannelConnection> Globex::MDApplicationParams::ActiveConnections |
|
inline |
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 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)
bool Globex::MDApplicationParams::bindToInterface_ |
bool Globex::MDApplicationParams::checkUDPSender_ |
Pass true to check the UDP packet sender's IP address.
Default value is true
std::string Globex::MDApplicationParams::config20Xml_ |
Path to the CME FIX/FAST 2.0 configuration file.
std::string Globex::MDApplicationParams::configXml_ |
Path to the CME configuration file.
size_t Globex::MDApplicationParams::detectionHolePackDelay_ |
Number of incoming messages with seq num out of order to skip before start recovery.
Default value is 1
bool Globex::MDApplicationParams::experimentalLogic_ |
enable exerimental logic Default value is false
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)
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)
size_t Globex::MDApplicationParams::incomingUdpBufferSize_ |
UDP incoming buffer size.
Should be tuned in case of UDP message miss
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)
Transport Globex::MDApplicationParams::incrementalProcessorTransportType_ |
Transport layer for data reading by separated "X" threads Default value is Transport::Sockets.
size_t Globex::MDApplicationParams::incrementalProcessorWorkerCount_ |
Number of separate threads to decode incoming "X" messages.
(0 - disable separate processing of "X" Default value is 0
size_t Globex::MDApplicationParams::incrementQueueSize_ |
Maximum number of messages could be stored in recovery mode for the particular instrument.
Default value is 50
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)
bool Globex::MDApplicationParams::logIncomingMessages_ |
Pass true to write out to the log file incoming FIX messages Default value is false.
bool Globex::MDApplicationParams::logIncomingUdpMessages_ |
Pass true to write out to the binary log file incoming FAST messages Default value is false.
size_t Globex::MDApplicationParams::numberOfWorkers_ |
Number of threads to decode incoming data Default value is 4.
TCPReplayParams Globex::MDApplicationParams::tcpReplayParams_ |
Params for TCPReplay recovery mode.
std::string Globex::MDApplicationParams::templatesFn_ |
Path to the CME FAST templates file.
Transport Globex::MDApplicationParams::transportType_ |
Transport layer for data reading Default value is Transport::Sockets.
bool Globex::MDApplicationParams::useMsgSeqNumForGapDetection_ |
Pass true to use tag 34 for detect gaps Default value is false.