B2BITS FIX Antenna C++  2.31.0
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Cqg::MDApplicationParams Class Reference

MDApplication parameters. More...

#include <B2BITS_CqgMDApplicationParams.h>

+ Collaboration diagram for Cqg::MDApplicationParams:

Classes

struct  FeedParams
 Feed parameters. More...
 

Public Types

enum  CqgProtocolVersion { v1, v2 }
 FIX/FAST Direct protocol type specification v1 - dictionaries are reset v2 - dictionaries are not reset - this is by default. More...
 
enum  Transport { Sockets, MyricomDBL }
 Type of transport layer. More...
 

Public Member Functions

 MDApplicationParams ()
 Default constructir. More...
 
 ~MDApplicationParams ()
 

Public Attributes

size_t additionalThreadsCount_
 Count of aditional threads for calling callbacks / Default value is 0. More...
 
std::string channelDefinitionFile_
 Path to the file with CQG network configuration. More...
 
size_t detectionHolePackDelay_
 Number of incoming messages with seq num out of order to skip before start recovery. More...
 
std::vector< FeedParamsfeedParams_
 Feed connection parameters. More...
 
int incomingUdpBufferSize_
 UDP incoming buffer size If 0 [default], size of the buffer will be defined by the OS. More...
 
std::string incrementalProcessorInterfaceIP_
 IP of network interface to listen on for separate "X" processing; nullptr or empty string means all interfaces. More...
 
Transport incrementalProcessorTransportType_
 Transport layer for data reading by separated "X" threads Default value is Transport::Sockets. More...
 
int incrementalProcessorWorkerCount_
 Worker count to process 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 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...
 
int numberOfWorkers_
 Worker count to process W messages. More...
 
CqgProtocolVersion protocolVersion_
 FIX/FAST Direct protocol version. More...
 
int reconnectAttemptCount_
 Reconnect attempt count to each SDS server. More...
 
std::string sdsLogin_
 Login user name to connect to SDS server. More...
 
std::string sdsPassword_
 Login user password to connect to SDS server. More...
 
std::string senderCompId_
 SenderCompID value. More...
 
std::string templatesFn_
 Path to the FAST templates file. More...
 
Transport transportType_
 Transport layer for data reading Default value is Transport::Sockets. More...
 

Detailed Description

MDApplication parameters.

Member Enumeration Documentation

◆ CqgProtocolVersion

FIX/FAST Direct protocol type specification v1 - dictionaries are reset v2 - dictionaries are not reset - this is by default.

Enumerator
v1 
v2 

◆ Transport

Type of transport layer.

Sockets - standard IP sockets MyricomDBL - Myricom Datagram Bypass Layer

Enumerator
Sockets 
MyricomDBL 

Constructor & Destructor Documentation

◆ MDApplicationParams()

Cqg::MDApplicationParams::MDApplicationParams ( )
inline

Default constructir.

◆ ~MDApplicationParams()

Cqg::MDApplicationParams::~MDApplicationParams ( )
inline

Member Data Documentation

◆ additionalThreadsCount_

size_t Cqg::MDApplicationParams::additionalThreadsCount_

Count of aditional threads for calling callbacks / Default value is 0.

◆ channelDefinitionFile_

std::string Cqg::MDApplicationParams::channelDefinitionFile_

Path to the file with CQG network configuration.

◆ detectionHolePackDelay_

size_t Cqg::MDApplicationParams::detectionHolePackDelay_

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

Default value is 10

◆ feedParams_

std::vector<FeedParams> Cqg::MDApplicationParams::feedParams_

Feed connection parameters.

◆ incomingUdpBufferSize_

int Cqg::MDApplicationParams::incomingUdpBufferSize_

UDP incoming buffer size If 0 [default], size of the buffer will be defined by the OS.

◆ incrementalProcessorInterfaceIP_

std::string Cqg::MDApplicationParams::incrementalProcessorInterfaceIP_

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

Default value is null (all interfaces)

◆ incrementalProcessorTransportType_

Transport Cqg::MDApplicationParams::incrementalProcessorTransportType_

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

◆ incrementalProcessorWorkerCount_

int Cqg::MDApplicationParams::incrementalProcessorWorkerCount_

Worker count to process X messages.

If 0, one thread poool will be used to process W and X messages. Default: 3

◆ incrementQueueSize_

size_t Cqg::MDApplicationParams::incrementQueueSize_

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

Default value is 50

◆ listenInterfaceIP_

std::string Cqg::MDApplicationParams::listenInterfaceIP_

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

Default value is null (all interfaces)

◆ logIncomingMessages_

bool Cqg::MDApplicationParams::logIncomingMessages_

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

◆ logIncomingUdpMessages_

bool Cqg::MDApplicationParams::logIncomingUdpMessages_

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

◆ numberOfWorkers_

int Cqg::MDApplicationParams::numberOfWorkers_

Worker count to process W messages.

Default: 1

◆ protocolVersion_

CqgProtocolVersion Cqg::MDApplicationParams::protocolVersion_

FIX/FAST Direct protocol version.

◆ reconnectAttemptCount_

int Cqg::MDApplicationParams::reconnectAttemptCount_

Reconnect attempt count to each SDS server.

◆ sdsLogin_

std::string Cqg::MDApplicationParams::sdsLogin_

Login user name to connect to SDS server.

◆ sdsPassword_

std::string Cqg::MDApplicationParams::sdsPassword_

Login user password to connect to SDS server.

◆ senderCompId_

std::string Cqg::MDApplicationParams::senderCompId_

SenderCompID value.

◆ templatesFn_

std::string Cqg::MDApplicationParams::templatesFn_

Path to the FAST templates file.

◆ transportType_

Transport Cqg::MDApplicationParams::transportType_

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