B2BITS FIX Antenna C++  2.27.0
Public Types | Public Member Functions | Public Attributes | List of all members
Micex::Mfix::MDApplicationParams Struct Reference

Startup parameters. More...

#include <B2BITS_MicexMfixApplication.h>

+ Collaboration diagram for Micex::Mfix::MDApplicationParams:

Public Types

enum  astsGateVersion { asts_vPre_4_5, asts_v4_5 }
 
enum  recoveryType { udpRecovery, tcpRecovery }
 
enum  Transport { Sockets, MyricomDBL }
 

Public Member Functions

 MDApplicationParams ()
 

Public Attributes

astsGateVersion astsGateVersion_
 MOEX ASTS FAST gateway version. More...
 
bool checkUdpSender_
 Pass true to check the UDP packet sender's IP address. More...
 
std::string configXml_
 Path to the MFIX Market Data configuration file. More...
 
std::size_t holePackDelay_
 Number of incoming messages with seq num out of order to skip before start recovery. More...
 
size_t incomingUdpBufferSize_
 UDP incoming buffer size. More...
 
System::u32 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 logIncomingFIXMessages_
 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...
 
std::size_t maxMessagesToRequest_
 Maximum number of messages to request in tcp-replay. More...
 
std::string nicConfig_
 Path to the network interface configuration file. More...
 
size_t numberOfWorkers_
 Number of threads to decode incoming data Default value is 4. More...
 
recoveryType recoveryType_
 Type for the recovery. More...
 
std::string schemaXml_
 Path to the MFIX Market Data configuration XML Schema file. More...
 
std::string senderCompId_
 SenderCompID field for tcp recovery session. More...
 
std::string targetCompId_
 TargetCompID field for tcp recovery session Default value is "MOEX". More...
 
std::string templatesFn_
 Path to the MFIX Market Data FAST templates file. More...
 
Transport transportType_
 Transport layer for data reading Default value is Transport::Sockets. More...
 
std::string userLogin_
 User login for tcp recovery session Default value is empty std::string;. More...
 
std::string userPassword_
 User password for tcp recovery session Default value is empty string;. More...
 

Detailed Description

Startup parameters.

Member Enumeration Documentation

◆ astsGateVersion

Enumerator
asts_vPre_4_5 
asts_v4_5 

◆ recoveryType

Enumerator
udpRecovery 
tcpRecovery 

◆ Transport

Enumerator
Sockets 

standard IP sockets

MyricomDBL 

Myricom datagram kernel bypass Layer.

Constructor & Destructor Documentation

◆ MDApplicationParams()

Micex::Mfix::MDApplicationParams::MDApplicationParams ( )
inline

Member Data Documentation

◆ astsGateVersion_

astsGateVersion Micex::Mfix::MDApplicationParams::astsGateVersion_

MOEX ASTS FAST gateway version.

◆ checkUdpSender_

bool Micex::Mfix::MDApplicationParams::checkUdpSender_

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

Default value is false

◆ configXml_

std::string Micex::Mfix::MDApplicationParams::configXml_

Path to the MFIX Market Data configuration file.

◆ holePackDelay_

std::size_t Micex::Mfix::MDApplicationParams::holePackDelay_

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

Default value is 100

◆ incomingUdpBufferSize_

size_t Micex::Mfix::MDApplicationParams::incomingUdpBufferSize_

UDP incoming buffer size.

Should be tuned in case of UDP message miss

◆ incrementQueueSize_

System::u32 Micex::Mfix::MDApplicationParams::incrementQueueSize_

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

Default value is 10000

◆ listenInterfaceIp_

std::string Micex::Mfix::MDApplicationParams::listenInterfaceIp_

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

Default value is null (all interfaces)

◆ logIncomingFIXMessages_

bool Micex::Mfix::MDApplicationParams::logIncomingFIXMessages_

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

◆ logIncomingUdpMessages_

bool Micex::Mfix::MDApplicationParams::logIncomingUdpMessages_

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

◆ maxMessagesToRequest_

std::size_t Micex::Mfix::MDApplicationParams::maxMessagesToRequest_

Maximum number of messages to request in tcp-replay.

◆ nicConfig_

std::string Micex::Mfix::MDApplicationParams::nicConfig_

Path to the network interface configuration file.

Default value is "nic_config.xml"

◆ numberOfWorkers_

size_t Micex::Mfix::MDApplicationParams::numberOfWorkers_

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

◆ recoveryType_

recoveryType Micex::Mfix::MDApplicationParams::recoveryType_

Type for the recovery.

tcp_recovery uses only tcp recovery for intruments (34 tag is used to detect hole) udp_recovery uses one mode of the MfixRecoveryMode for instruments (83 tag is used to detect hole) Default value is udp_recovery

◆ schemaXml_

std::string Micex::Mfix::MDApplicationParams::schemaXml_

Path to the MFIX Market Data configuration XML Schema file.

◆ senderCompId_

std::string Micex::Mfix::MDApplicationParams::senderCompId_

SenderCompID field for tcp recovery session.

◆ targetCompId_

std::string Micex::Mfix::MDApplicationParams::targetCompId_

TargetCompID field for tcp recovery session Default value is "MOEX".

◆ templatesFn_

std::string Micex::Mfix::MDApplicationParams::templatesFn_

Path to the MFIX Market Data FAST templates file.

◆ transportType_

Transport Micex::Mfix::MDApplicationParams::transportType_

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

◆ userLogin_

std::string Micex::Mfix::MDApplicationParams::userLogin_

User login for tcp recovery session Default value is empty std::string;.

◆ userPassword_

std::string Micex::Mfix::MDApplicationParams::userPassword_

User password for tcp recovery session Default value is empty string;.