#include <OnixS/Senaf/MarketData/HandlerSettings.h>
Public Member Functions | |
HandlerSettings () | |
std::string | toString () const |
Public Attributes | |
std::string | licenseString |
std::string | licenseDirectory |
std::string | logDirectory |
std::string | logFileNamePrefix |
LogLevel | logLevel |
AdvancedLogOptionSet | advancedLogOptions |
std::string | networkInterface |
time_t | heartbeatInterval |
ThreadAffinity | processingThreadAffinity |
std::string | applicationName |
std::string | applicationPassword |
unsigned short | applicationVersion |
ConnectionRetries | connectionRetries |
CpuIndexes | receivingThreadAffinity |
CpuIndexes | sendingThreadAffinity |
LogList | logs |
LogReplayInputStream * | inputStream |
float | logPlayerSpeedMultiplier |
unsigned | logPlayerSpeedAuxDelay |
std::string | auditTrailDirectory |
std::string | auditTrailFileNamePrefix |
CpuIndexes | auditTrailThreadAffinity |
std::string | marketImageDirectory |
std::string | marketImageFileNamePrefix |
Definition at line 107 of file HandlerSettings.h.
HandlerSettings | ( | ) |
Initializes instance with default values for control parameters.
std::string toString | ( | ) | const |
Returns string representation.
AdvancedLogOptionSet advancedLogOptions |
Additional options to control which data is to be logged. Ignored if logging is disabled.
AdvancedLogOptions::Default
. Definition at line 152 of file HandlerSettings.h.
std::string applicationName |
Application Name.
Definition at line 189 of file HandlerSettings.h.
std::string applicationPassword |
Application Password.
Definition at line 194 of file HandlerSettings.h.
unsigned short applicationVersion |
Application Version.
Definition at line 199 of file HandlerSettings.h.
std::string auditTrailDirectory |
Audit Trail files are stored in this directory.
Definition at line 247 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 256 of file HandlerSettings.h.
CpuIndexes auditTrailThreadAffinity |
CPU affinity of the audit-trail thread.
Definition at line 259 of file HandlerSettings.h.
ConnectionRetries connectionRetries |
Connection retries configuration settings.
Definition at line 204 of file HandlerSettings.h.
time_t heartbeatInterval |
Specifies maximal time interval in seconds between two network packets. If no data is received during specified time frame, warning is reported.
3
. Definition at line 174 of file HandlerSettings.h.
LogReplayInputStream* inputStream |
User defined input stream for log replay logs will be ignored.
Definition at line 224 of file HandlerSettings.h.
std::string licenseDirectory |
Path to the license directory.
Definition at line 123 of file HandlerSettings.h.
std::string licenseString |
Content of the license file as a string.
Definition at line 115 of file HandlerSettings.h.
std::string logDirectory |
Log files are stored in this directory.
Definition at line 130 of file HandlerSettings.h.
std::string logFileNamePrefix |
Template of log file name without extension.
Definition at line 137 of file HandlerSettings.h.
LogLevel logLevel |
Log verbosity.
Definition at line 144 of file HandlerSettings.h.
unsigned logPlayerSpeedAuxDelay |
Log player speed auxiliary delay.
This is an \( k \) in the formula \( mT+k \) to calculate delays between packets, where \( T \) is original delay. Default value is 0
.
Definition at line 242 of file HandlerSettings.h.
float logPlayerSpeedMultiplier |
Log player speed multiplier.
This is an \( m \) in the formula \( mT+k \) to calculate delays between packets, where \( T \) is original delay. Values less than 1
means reduced speed, greater than 1
means increased speed. Default value is 1.0
which means a normal speed.
Definition at line 234 of file HandlerSettings.h.
LogList logs |
List of logs to be replated.
Definition at line 221 of file HandlerSettings.h.
std::string marketImageDirectory |
Market Image (Debug) files will be stored in this directory.
Definition at line 264 of file HandlerSettings.h.
std::string marketImageFileNamePrefix |
Template of Market Image (Debug) file name without extension.
Creates Market Image file. See 5.6. Debugging and Testing Support for more details.
Definition at line 272 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.
Definition at line 165 of file HandlerSettings.h.
ThreadAffinity processingThreadAffinity |
Defines set of CPUs by their indices (starting from zero) allowed for thread used by the Handler while processing market data to be executed on.
Definition at line 184 of file HandlerSettings.h.
CpuIndexes receivingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 209 of file HandlerSettings.h.
CpuIndexes sendingThreadAffinity |
CPU affinity of the receiving thread.
Definition at line 214 of file HandlerSettings.h.