OnixS C++ Eurex T7 Market and Reference Data Interface (EMDI, RDI, EOBI) Handlers  6.3.5
API documentation
HandlerSettings Struct Reference

#include <OnixS/Eurex/MarketData/HandlerSettings.h>

Collaboration diagram for HandlerSettings:

Public Member Functions

 HandlerSettings ()
 

Public Attributes

std::string licenseDirectory
 
std::string logDirectory
 
std::string logFileNamePrefix
 
LogSettings::Enum logSettings
 
LogLevel::Enum logLevel
 
LogFilePermission::Enum logFilePermissions
 
std::string networkInterface
 
std::string networkInterfaceA
 
std::string networkInterfaceB
 
unsigned int maxPacketWaitingTime
 
bool useFeedA
 
bool useFeedB
 
unsigned short maxPacketSize
 
unsigned int heartbeatInterval
 
unsigned int outOfOrderPacketMaxInterval
 
unsigned int messagePoolSize
 

Detailed Description

Definition at line 97 of file HandlerSettings.h.

Constructor & Destructor Documentation

HandlerSettings ( )
inline

Constructor.

Definition at line 100 of file HandlerSettings.h.

Member Data Documentation

unsigned int heartbeatInterval

Specifies maximal time interval between two network packets. If no data is received during specified time frame, corresponding warning is raised.

Interval is measured in seconds.

Note
The default value is '20'.

Definition at line 193 of file HandlerSettings.h.

std::string licenseDirectory

Path to the license directory.

Definition at line 118 of file HandlerSettings.h.

std::string logDirectory

Log files are stored in this directory.

Definition at line 121 of file HandlerSettings.h.

std::string logFileNamePrefix

Template of log file name without extension.

Definition at line 124 of file HandlerSettings.h.

LogFilePermission::Enum logFilePermissions

Log file permissions.

Note
The default value is ReadAll | WriteOwnerOnly

Definition at line 137 of file HandlerSettings.h.

LogLevel::Enum logLevel

Log verbosity.

Note
The default value is LogLevel::Info

Definition at line 132 of file HandlerSettings.h.

LogSettings::Enum logSettings

Combine LogSettings enum values to configure the logger.

Definition at line 127 of file HandlerSettings.h.

unsigned short maxPacketSize

Max size for network packet transmitted by Eurex.

Note
The default value is '1450'.

Definition at line 184 of file HandlerSettings.h.

unsigned int maxPacketWaitingTime

Specifies the maximum time interval (miliseconds) to wait out-of-sequence packet before treating it as totally lost.

Note
The default value is 500 miliseconds.

Definition at line 169 of file HandlerSettings.h.

unsigned int messagePoolSize

Defines size of buffer in bytes for message caching.

Note
Default value is 512000 bytes.

Definition at line 224 of file HandlerSettings.h.

std::string networkInterface

Specifies one or more network interfaces to use while joining the multicast group; use semi-colon delimited list if more than one.

On Linux the network interfaces is specified by its name, on Windows - by IP address.

Note
If the value is empty or absent then the default networking interface is used.

Definition at line 146 of file HandlerSettings.h.

std::string networkInterfaceA

Specifies one or more network interfaces to use while joining the multicast group A; use semi-colon delimited list if more than one.

On Linux the network interfaces is specified by its name, on Windows - by IP address.

Note
If the value is empty or absent then the networkInterface_ filled value is used.

Definition at line 155 of file HandlerSettings.h.

std::string networkInterfaceB

Specifies one or more network interfaces to use while joining the multicast group B; use semi-colon delimited list if more than one.

On Linux the network interfaces is specified by its name, on Windows - by IP address.

Note
If the value is empty or absent then the networkInterface_ filled value is used.

Definition at line 164 of file HandlerSettings.h.

unsigned int outOfOrderPacketMaxInterval

Defines value of threshold used by Handler to differ out-of-order packets from gaps.

Due to unreliable nature of multicast, packets transmitted by exchange may be received in the order different to original. To differ the case when Handler received out-of-order packets from the case when some of packets were completely lost, Handler uses given parameter. It defines size of interval for incoming packets starting from the last received. Packet is considered as out-of-order if its sequence number fits into interval [seqNumberOfLastReceivedPacket, seqNumberOfLastReceivedPacket + outOfOrderPacketsMaxInterval]. In that case Handler waits for other packets to fulfill the incoming sequence. If received packet has greater sequence number than 'seqNumberOfLastReceivedPacket + outOfOrderPacketsMaxInterval', then Handler makes a decision on packets lost and gap is reported.

Note
When out-of-order packet is received, Handler makes a decision on data loss if either waiting time is over or if newly received packet has sequence number greater than 'seqNumberOfLastReceivedPacket + outOfOrderPacketMaxInterval'.
See also
'lostPacketWaitTime' parameter for more information.
Note
The default value is '3'.

Definition at line 219 of file HandlerSettings.h.

bool useFeedA

Option to use feed A.

Note
The default value is 'true'.

Definition at line 174 of file HandlerSettings.h.

bool useFeedB

Option to use feed B.

Note
The default value is 'true'.

Definition at line 179 of file HandlerSettings.h.


The documentation for this struct was generated from the following file: