B2BITS FIX Antenna C++  2.27.0
Public Types | Public Member Functions | Public Attributes | List of all members
Bovespa::BovespaApplicationParams Struct Reference

Startup parameters. More...

#include <B2BITS_BovespaApplication.h>

+ Collaboration diagram for Bovespa::BovespaApplicationParams:

Public Types

typedef std::vector< ChannelConnectionActiveConnections
 
enum  Transport { Sockets, SocketsIGMPv4, MyricomDBL }
 Type of transport layer. More...
 

Public Member Functions

 BovespaApplicationParams ()
 

Public Attributes

ActiveConnections activeConnections_
 List of channel connection to use; empty means all connections are allowed. More...
 
size_t additionalThreadsCount_
 Count of aditional threads for calling callbacks / Default value is 0. More...
 
bool bindToInterface_
 
bool checkUDPSender_
 Pass true to check the UDP packet sender's IP address. More...
 
std::string configXml_
 Path to the configuration file. 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 templates file. More...
 
Transport transportType_
 Transport layer for data reading Default value is Transport::Sockets. More...
 

Detailed Description

Startup parameters.

Member Typedef Documentation

◆ ActiveConnections

Member Enumeration Documentation

◆ Transport

Type of transport layer.

Enumerator
Sockets 

standard IP sockets

SocketsIGMPv4 

standard IP sockets with support ICMP v.4

MyricomDBL 

Myricom datagram kernel bypass Layer.

Constructor & Destructor Documentation

◆ BovespaApplicationParams()

Bovespa::BovespaApplicationParams::BovespaApplicationParams ( )
inline

Member Data Documentation

◆ activeConnections_

ActiveConnections Bovespa::BovespaApplicationParams::activeConnections_

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

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

◆ additionalThreadsCount_

size_t Bovespa::BovespaApplicationParams::additionalThreadsCount_

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

◆ bindToInterface_

bool Bovespa::BovespaApplicationParams::bindToInterface_

◆ checkUDPSender_

bool Bovespa::BovespaApplicationParams::checkUDPSender_

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

Default value is true

◆ configXml_

std::string Bovespa::BovespaApplicationParams::configXml_

Path to the configuration file.

◆ incomingUdpBufferSize_

size_t Bovespa::BovespaApplicationParams::incomingUdpBufferSize_

UDP incoming buffer size.

Should be tuned in case of UDP message miss

◆ incrementalProcessorInterfaceIP_

std::string Bovespa::BovespaApplicationParams::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 Bovespa::BovespaApplicationParams::incrementalProcessorTransportType_

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

◆ incrementalProcessorWorkerCount_

size_t Bovespa::BovespaApplicationParams::incrementalProcessorWorkerCount_

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

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

◆ incrementQueueSize_

size_t Bovespa::BovespaApplicationParams::incrementQueueSize_

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

Default value is 50

◆ listenInterfaceIP_

std::string Bovespa::BovespaApplicationParams::listenInterfaceIP_

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

Default value is null (all interfaces)

◆ logIncomingMessages_

bool Bovespa::BovespaApplicationParams::logIncomingMessages_

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

◆ logIncomingUdpMessages_

bool Bovespa::BovespaApplicationParams::logIncomingUdpMessages_

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

◆ numberOfWorkers_

size_t Bovespa::BovespaApplicationParams::numberOfWorkers_

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

◆ tcpReplayParams_

TCPReplayParams Bovespa::BovespaApplicationParams::tcpReplayParams_

Params for TCPReplay recovery mode.

◆ templatesFn_

std::string Bovespa::BovespaApplicationParams::templatesFn_

Path to the templates file.

◆ transportType_

Transport Bovespa::BovespaApplicationParams::transportType_

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