#include <OnixS/Eurex/Trading/HandlerSettings.h>
Public Member Functions | |
HandlerSettings () | |
HandlerSettings (const HandlerSettings &) | |
std::string | toString () const |
Public Attributes | |
std::string | licenseString |
std::string | licenseDirectory |
std::string | logDirectory |
std::string | logFileNamePrefix |
LogSettings::Enum | logSettings |
LogLevel::Enum | logLevel |
int | receivingTimeoutMs |
int | sendingTimeoutMs |
CpuIndexes | receivingThreadAffinity |
CpuIndexes | sendingThreadAffinity |
CpuIndexes | auditTrailThreadAffinity |
ConnectionRetries | connectionRetries |
std::string | auditTrailDirectory |
std::string | auditTrailFile |
std::string | auditTrailFileNamePrefix |
AuditTrailMode::Enum | auditTrailMode |
size_t | throttleMessageMargin |
bool | treatReceiverInactivityAsWarning |
bool | scramblePassword |
unsigned | reasonableTransmissionTime |
bool | sslEnabled |
Definition at line 96 of file HandlerSettings.h.
HandlerSettings | ( | ) |
Constructor.
HandlerSettings | ( | const HandlerSettings & | ) |
Copy constructor.
std::string toString | ( | ) | const |
Returns the string representation.
std::string auditTrailDirectory |
Audit Trail files are stored in this directory.
Definition at line 164 of file HandlerSettings.h.
std::string auditTrailFile |
Definition at line 169 of file HandlerSettings.h.
std::string auditTrailFileNamePrefix |
Template of Audit Trail file name without extension.
Creates Audit Trail file that contains all messages that Handler sent or received (in the chronological order).
Definition at line 177 of file HandlerSettings.h.
AuditTrailMode::Enum auditTrailMode |
CpuIndexes auditTrailThreadAffinity |
CPU affinity of the audit-trail thread.
Definition at line 154 of file HandlerSettings.h.
ConnectionRetries connectionRetries |
Connection retries configuration settings.
Definition at line 159 of file HandlerSettings.h.
std::string licenseDirectory |
Path to the license directory.
Definition at line 115 of file HandlerSettings.h.
std::string licenseString |
Content of the license file as a string.
Definition at line 110 of file HandlerSettings.h.
std::string logDirectory |
Log files are stored in this directory.
Definition at line 120 of file HandlerSettings.h.
std::string logFileNamePrefix |
Template of log file name without extension.
Definition at line 125 of file HandlerSettings.h.
LogLevel::Enum logLevel |
Log verbosity.
Definition at line 135 of file HandlerSettings.h.
LogSettings::Enum logSettings |
Combine LogSettings enum values to configure the logger.
Definition at line 130 of file HandlerSettings.h.
unsigned reasonableTransmissionTime |
Reasonable transmission time. This option controls the percentage from the heartbeat interval.
Definition at line 224 of file HandlerSettings.h.
CpuIndexes receivingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 148 of file HandlerSettings.h.
int receivingTimeoutMs |
Receiving timeout in milliseconds.
Definition at line 140 of file HandlerSettings.h.
bool scramblePassword |
This flag is used to control the Handler's behavior whether to scramble passwords in the log and audit files.
false
. Definition at line 218 of file HandlerSettings.h.
CpuIndexes sendingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 151 of file HandlerSettings.h.
int sendingTimeoutMs |
Sending timeout in milliseconds.
Definition at line 145 of file HandlerSettings.h.
bool sslEnabled |
Is SSL enabled for the connection to exchange?
false
. Definition at line 229 of file HandlerSettings.h.
size_t throttleMessageMargin |
Throttle message margin. Transaction limit will be reduced by this value.
For example, if Eurex notify that transaction limit is 20 messages and this Handler's setting isn't changed (by default value is 3), then transaction limit for Handler is 20 - 3 = 17 messages.
Definition at line 191 of file HandlerSettings.h.
bool treatReceiverInactivityAsWarning |
This flag is used to control the Handler's behavior when a connection is not able to receive data from a network.
Absence of data could be caused by network or exchange issues. If server stopped sending data due to internal issues but underlying TCP connection is not broken, it could make sense to switch to manual control and use this option.
By default, the Handler will call error callback and restart the connection. If this flag is set to true
, only warning callback will be called and the Handler continue to work.
false
. Definition at line 211 of file HandlerSettings.h.