OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
RetransmissionHandlerSettings Class Reference

Public Member Functions

 RetransmissionHandlerSettings ()
std::string toString () const

Public Attributes

ServiceDescriptor serviceA
ServiceDescriptor serviceB
std::string networkInterface
std::string networkInterfaceA
std::string networkInterfaceB
std::string username
ThreadAffinity sendingThreadAffinity
ThreadAffinity receivingThreadAffinity
unsigned int maxConnectingAttempts
unsigned int minReconnectingTimeout
std::string logDirectory
std::string logFileNamePrefix
LogSettings::Enum logSettings
LogLevel::Enum logLevel
LogFilePermission::Enum logFilePermissions

Detailed Description

Definition at line 36 of file RetransmissionHandler.h.

Constructor & Destructor Documentation

◆ RetransmissionHandlerSettings()

Initializes options with default values.

Definition at line 40 of file RetransmissionHandler.h.

Member Function Documentation

◆ toString()

std::string toString ( ) const

Returns the string representation.

Member Data Documentation

◆ logDirectory

std::string logDirectory

Log files are stored in this directory.

Definition at line 99 of file RetransmissionHandler.h.

◆ logFileNamePrefix

std::string logFileNamePrefix

Template of log file name without extension.

Definition at line 102 of file RetransmissionHandler.h.

◆ logFilePermissions

LogFilePermission::Enum logFilePermissions

Log file permissions.

Note
The default value is ReadAll | WriteOwnerOnly

Definition at line 115 of file RetransmissionHandler.h.

◆ logLevel

LogLevel::Enum logLevel

Log verbosity.

Note
The default value is LogLevel::Info

Definition at line 110 of file RetransmissionHandler.h.

◆ logSettings

LogSettings::Enum logSettings

Combine LogSettings enum values to configure the logger.

Definition at line 105 of file RetransmissionHandler.h.

◆ maxConnectingAttempts

unsigned int maxConnectingAttempts

Max number of attempts to connect retransmission services, default value is 3.

Definition at line 93 of file RetransmissionHandler.h.

◆ minReconnectingTimeout

unsigned int minReconnectingTimeout

Minimum timeout value between attempts to connect retransmission services (sec), default value is 3 sec.

Definition at line 96 of file RetransmissionHandler.h.

◆ networkInterface

std::string networkInterface

Specifies one or more network interfaces to use while connecting; 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 63 of file RetransmissionHandler.h.

◆ networkInterfaceA

std::string networkInterfaceA

Specifies one or more network interfaces to use while connecting to server 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 72 of file RetransmissionHandler.h.

◆ networkInterfaceB

std::string networkInterfaceB

Specifies one or more network interfaces to use while connecting to server 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 81 of file RetransmissionHandler.h.

◆ receivingThreadAffinity

ThreadAffinity receivingThreadAffinity

Receiving affinity.

Definition at line 90 of file RetransmissionHandler.h.

◆ sendingThreadAffinity

ThreadAffinity sendingThreadAffinity

Sending affinity.

Definition at line 87 of file RetransmissionHandler.h.

◆ serviceA

Primary server.

Definition at line 51 of file RetransmissionHandler.h.

◆ serviceB

Secondary server.

Definition at line 54 of file RetransmissionHandler.h.

◆ username

std::string username

Username.

Definition at line 84 of file RetransmissionHandler.h.