Handler base configuration settings. More...
Public Member Functions | |
HandlerSettings () | |
Constructor. | |
std::string | toString () const |
Returns the string representation. | |
Public Attributes | |
std::string | licenseDirectory |
Path to the license directory. | |
std::string | logDirectory |
Log files are stored in this directory. | |
std::string | logFileNamePrefix |
Template of log file name without extension. | |
LogSettings::Enum | logSettings |
Combine LogSettings enum values to configure the logger. | |
LogLevel::Enum | logLevel |
Log verbosity. | |
LogFilePermission::Enum | logFilePermissions |
Log file permissions. | |
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. | |
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. | |
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. | |
unsigned int | maxPacketWaitingTime |
Specifies the maximum time interval (miliseconds) to wait out-of-sequence packet before treating it as totally lost. | |
ThreadAffinity | threadAffinity |
Defines set of CPUs by their indices (starting from zero) allowed for the thread used by the Handler. | |
size_t | udpSocketBufferSize |
Defines size of buffer in bytes for UDP/multicast sockets. | |
size_t | feedInactivityTimeout |
Indicates for how long till onDepthSnapshot::onDepthOutOfDate and OrderBookListener::onOrderBookOutOfDate will be fired if no UDP data in incremental streams. | |
size_t | maxBooksObjectAmount |
Defines size of preallocated memory for Order Book. Default value is 100. | |
bool | buildInternalOrderBooks |
Build internal books. | |
std::string | templateFile |
path to template file | |
bool | useFeedA |
Option to use feed A. | |
bool | useFeedB |
Option to use feed B. | |
FeedDescriptor | securityDefinitionsFeed |
Multicast IP Address for Security Definitions. | |
FeedDescriptors | multicastFeeds |
Multicast IP Address and feed names. |
Handler base configuration settings.
size_t feedInactivityTimeout |
Indicates for how long till onDepthSnapshot::onDepthOutOfDate and OrderBookListener::onOrderBookOutOfDate will be fired if no UDP data in incremental streams.
Value must be specified in seconds (sec).
Log file permissions.
Log verbosity.
unsigned int maxPacketWaitingTime |
Specifies the maximum time interval (miliseconds) to wait out-of-sequence packet before treating it as totally lost.
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.
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.
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.
Defines set of CPUs by their indices (starting from zero) allowed for the thread used by the Handler.
size_t udpSocketBufferSize |
Defines size of buffer in bytes for UDP/multicast sockets.
bool useFeedA |
Option to use feed A.
bool useFeedB |
Option to use feed B.