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 |
| ConnectionRetries | connectionRetries |
| bool | treatReceiverInactivityAsWarning |
| bool | scramblePassword |
| unsigned | reasonableTransmissionTime |
| bool | sslEnabled |
Definition at line 67 of file HandlerSettings.h.
| HandlerSettings | ( | ) |
Constructor.
| HandlerSettings | ( | const HandlerSettings & | ) |
Copy constructor.
| std::string toString | ( | ) | const |
Returns the string representation.
| ConnectionRetries connectionRetries |
Connection retries configuration settings.
Definition at line 127 of file HandlerSettings.h.
| std::string licenseDirectory |
Path to the license directory.
Definition at line 86 of file HandlerSettings.h.
| std::string licenseString |
Content of the license file as a string.
Definition at line 81 of file HandlerSettings.h.
| std::string logDirectory |
Log files are stored in this directory.
Definition at line 91 of file HandlerSettings.h.
| std::string logFileNamePrefix |
Template of log file name without extension.
Definition at line 96 of file HandlerSettings.h.
| LogLevel::Enum logLevel |
Log verbosity.
Definition at line 106 of file HandlerSettings.h.
| LogSettings::Enum logSettings |
Combine LogSettings enum values to configure the logger.
Definition at line 101 of file HandlerSettings.h.
| unsigned reasonableTransmissionTime |
Reasonable transmission time. This option controls the percentage from the heartbeat interval.
Definition at line 160 of file HandlerSettings.h.
| CpuIndexes receivingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 119 of file HandlerSettings.h.
| int receivingTimeoutMs |
Receiving timeout in milliseconds.
Definition at line 111 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 154 of file HandlerSettings.h.
| CpuIndexes sendingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 122 of file HandlerSettings.h.
| int sendingTimeoutMs |
Sending timeout in milliseconds.
Definition at line 116 of file HandlerSettings.h.
| bool sslEnabled |
Controls whether the connection to the exchange is established over TLS.
EDCI gateways in the Production and Simulation environments require a TLS-secured TCP/IP connection, so this flag should normally be left at its default.
true. Definition at line 171 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 the server stopped sending data due to internal issues but the underlying TCP connection is not broken, it could make sense to keep the connection alive and let the user code decide how to react.
When set to true, the Handler invokes the warning callback and continues to work on receiver inactivity. When set to false, the Handler invokes the error callback and restarts the connection instead.
true. Definition at line 147 of file HandlerSettings.h.