Defines set of settings which affect behavior of the Handler. More...
Public Member Functions | |
| HandlerSettings () | |
| Initializes instance with default values for control parameters. | |
| std::string | toString () const |
| Returns string representation. | |
Public Attributes | |
| std::string | licenseDirectory |
| Path to the license directory. More... | |
| std::string | logDirectory |
| Log files are stored in this directory. More... | |
| std::string | logFileNamePrefix |
| Template of log file name without extension. More... | |
| LogLevel | logLevel |
| Log verbosity. More... | |
| AdvancedLogOptionSet | advancedLogOptions |
| Additional options to control which data is to be logged. More... | |
| std::string | connectivityConfiguration |
| Defines path to connectivity configuration which defines multicast groups, types of markets which belong to the groups and connection info for multicast feeds for the groups. | |
| 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. More... | |
| size_t | udpBufferSize |
| This option determines the size in bytes of a buffer that is used by multicast transport. More... | |
| time_t | heartbeatInterval |
| Specifies maximal time interval in seconds between two network packets. More... | |
| size_t | sequenceGapMargin |
| Specifies maximal sequence gap margin between first and last received network packets in internal queue. More... | |
| size_t | gapTimeoutInMilliseconds |
| Specifies maximal time interval in milliseconds to wait network packet with next expected sequence number. More... | |
| SnapshotRecoveryOptions | snapshotRecoveryOptions |
| Specifies snapshot recovery options. | |
| 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. More... | |
| LogList | logs |
| List of logs to be replated. More... | |
| LogReplayInputStream * | inputStream |
| User defined input stream for log replay logs will be ignored. | |
| float | logPlayerSpeedMultiplier |
| Log player speed multiplier. More... | |
| unsigned | logPlayerSpeedAuxDelay |
| Log player speed auxilary delay. More... | |
| bool | trackTopOfTheBookOnly |
| Track top of the book only. More... | |
| bool | receiveProductDefinitionsOnly |
| Receive product definitions only. More... | |
| size_t | maxMulticastMessageBlockSize |
| Max multicast message block size. More... | |
| std::string | productDefinitionCacheDirectory |
| Path to the product definition cache directory. More... | |
Defines set of settings which affect behavior of the Handler.
| AdvancedLogOptionSet advancedLogOptions |
Additional options to control which data is to be logged.
Ignored if logging is disabled.
AdvancedLogOptions::Default. | size_t gapTimeoutInMilliseconds |
Specifies maximal time interval in milliseconds to wait network packet with next expected sequence number.
10000. | 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.
36000. | 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.
| LogLevel logLevel |
Log verbosity.
| unsigned logPlayerSpeedAuxDelay |
Log player speed auxilary delay.
This is an
in the formula
to calculate delays between packets, where
is original delay. Default value is 0.
| float logPlayerSpeedMultiplier |
Log player speed multiplier.
This is an
in the formula
to calculate delays between packets, where
is original delay. Values less than 1 means reduced speed, greather than 1 means increased speed. Default value is 1.0 which means a normal speed.
| LogList logs |
List of logs to be replated.
| size_t maxMulticastMessageBlockSize |
Max multicast message block size.
This option determines the size in bytes of a buffer that is used as a storage for the incoming mulsticast message block.
By default, the size set at 1400 bytes.
| 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.
| 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.
| std::string productDefinitionCacheDirectory |
Path to the product definition cache directory.
If a value is set and it is a valid path to a directory, the product definition cache will be created and used on the daily basis. If the value is not set, the cache will not be created an product definitions will be downloaded by establishing a TCP connection to ICE server.
| bool receiveProductDefinitionsOnly |
Receive product definitions only.
This flag should be set to true when only product definitions are needed.
Default value is false.
| size_t sequenceGapMargin |
Specifies maximal sequence gap margin between first and last received network packets in internal queue.
10000. | bool trackTopOfTheBookOnly |
Track top of the book only.
This flag should be set to true when only top of the book updates are needed.
Default value is false.
| size_t udpBufferSize |
This option determines the size in bytes of a buffer that is used by multicast transport.
By default, buffer size is 4MiB (4194304 bytes).
man 6 socket.