Public Types | |
typedef std::set< int > | NonReconnectErrorCodes |
Public Member Functions | |
Settings () | |
Default constructor. More... | |
Public Attributes | |
std::string | clientString |
Cross-reference participant's client string. | |
PriceDepthOption::Enum | priceDepthOption |
Select the needed price depth. More... | |
LogSwitches::Enum | logSwitches |
Combine LogSwitches enum values to configure the logger. | |
std::string | logDirectory |
Path to directory for log files. | |
std::string | logFile |
Template of log file name without extension. | |
LogLevel::Enum | logLevel |
Log verbosity. More... | |
std::string | licenseDir |
Directory with the product license. More... | |
bool | concurrentConnection |
If true handler will try to use concurrent connections for API calls and events reading. | |
ConnectionRetries | connectionRetries |
Connection retries configuration settings. More... | |
NonReconnectErrorCodes | nonReconnectErrorCodes |
Non-reconnect error codes set. More... | |
Handler settings.
Settings | ( | ) |
Default constructor.
Sets logSwitches to Default, testingMode to false, concurrentConnection to true.
ConnectionRetries connectionRetries |
Connection retries configuration settings.
std::string licenseDir |
Directory with the product license.
LogLevel::Enum logLevel |
Log verbosity.
NonReconnectErrorCodes nonReconnectErrorCodes |
Non-reconnect error codes set.
This option used to control set of non-reconnect error codes.
By default includes following error codes:
OMNIAPI_INTFAILURE(-2001), OMNIAPI_LOGIN_DISABLED(-2023), OMNIAPI_INVALID_LOGIN_ATTEMPT(-2024), OMNIAPI_INVALID_LOGIN_LOCKED(-2033), OMNIAPI_INVALID_LOGIN_SUSPENDED(-2034), OMNIAPI_RELOGIN_NOT_ALLOWED(-2035), OMNIAPI_INVALID_LOGIN_INACTIVE(-2037).
PriceDepthOption::Enum priceDepthOption |
Select the needed price depth.
Default value is PriceDepthOption::PriceDepth5.