Definition at line 55 of file Handler.h.
◆ Handler() [1/3]
Handler |
( |
const std::string & | = "" | ) |
|
Initializes the instance with the default settings.
◆ Handler() [2/3]
Initializes instance with the memory pool configured according to the given settings.
◆ Handler() [3/3]
Initializes the instance according to the given settings.
◆ ~Handler()
◆ bindFeedEngine()
Binds Feed Engine to the Handler.
Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().feeds().engine() member to assign the feed engine used by the Handler while manipulating the feeds.
◆ bindLogger()
void bindLogger |
( |
Logger & | logger | ) |
|
Binds Logging Service to the Handler.
Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().logging().logger() member to assign the Logger instance used by the Handler to log various events.
◆ bindTcpRecovery()
Binds TCP Recovery Service to the Handler.
Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().session().tcpRecovery().service() member to assign the TCP recovery service used by the Handler to request missing packets.
◆ clearInstrumentCache()
void clearInstrumentCache |
( |
| ) |
|
Erases instrument definitions cache if used.
Handler will produce a new cache at next start.
◆ licenseExpirationDate()
std::string licenseExpirationDate |
( |
| ) |
const |
Returns the license expiration date.
◆ logger()
◆ registerFeedListener()
Registers feed event listener.
Only single instance of listener can be associated with the Handler. Registering new listener removes previous one. Listener instance lifetime shall be not less than Handler's one.
Listeners are to be associated before starting market data processing - Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().listeners().feeds() member to assign the listener for the desired events.
◆ registerListener()
Registers Handler events listener.
Only single instance of listener can be associated with the Handler. Registering new listener removes previous one. Listener instance lifetime shall be not less than Handler's one.
Listeners are to be associated before starting market data processing - Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().listeners().handler() member to assign the listener for the desired events.
◆ registerMarketDataListener()
Registers market data processing listener.
Only single instance of listener can be associated with the Handler. Registering new listener removes previous one. Listener instance lifetime shall be not less than Handler's one.
Listeners are to be associated before starting market data processing - Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().listeners().marketData() member to assign the listener for the desired events.
◆ registerSecurityListener()
Registers security events listener.
Only single instance of listener can be associated with the Handler. Registering new listener removes previous one. Listener instance lifetime shall be not less than Handler's one.
Listeners are to be associated before starting market data processing - Handler must be in stopped state.
- Exceptions
-
std::exception | in case when handler is not in configurable state. |
- Warning
- The given member is deprecated. Use settings().listeners().security() member to assign the listener for the desired events.
◆ selectInstruments()
Filters instruments whose market data is to be processed and events are to be fired by the Handler.
- Warning
- Instrument selection can be updated only when market data processing is not performed by the Handler or upon successful instrument recovery completion.
◆ settings() [1/2]
The configuration parameters of the given instance.
◆ settings() [2/2]
Immutable configuration of the given instance.
◆ start() [1/2]
Starts market data processing.
◆ start() [2/2]
Updates the session configuration according to the given settings and starts market data processing.
- Warning
- The given member is deprecated. Use settings().session() member to update session-related configuration and start() member to launch market data processing.
◆ stop()
Stops market data processing.
◆ PcapReplayHelper
friend class PcapReplayHelper |
|
friend |