#include <OnixS/SURF/MarketData/Handler.h>
Definition at line 36 of file Handler.h.
Performs instance initialization.
- Parameters
-
settings | defines values for various options which affect handler behavior like enabling logging during execution of the handler. |
void connect |
( |
const std::string & |
host, |
|
|
int |
port |
|
) |
| |
Connects the Handler to the given host and port.
- Exceptions
-
std::exception | in case of unable to establish TCP connection. |
const char* licenseExpirationDate |
( |
| ) |
const |
Returns the license expiration date.
void log |
( |
LogLevel::Enum |
logLevel, |
|
|
const char * |
logMessage, |
|
|
size_t |
length |
|
) |
| |
Logs the given user-level message to the handler log.
Logs the given user-level message to the handler log.
Logs the given user-level message to the handler log.
Assigns listener for errors occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.
- Exceptions
-
Assigns listener for state change events occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.
- Exceptions
-
Assigns listener for records received while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.
- Exceptions
-
Assigns listener for warnings occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.
- Exceptions
-
Subscribes to the records with given field ID.
- Parameters
-
fieldId | - identifier of field. |
- Exceptions
-
void unsubscribe |
( |
FieldId |
fieldId | ) |
|
Unsubscribes for the records with given field ID.
- Parameters
-
fieldId | - identifier of field. |
- Exceptions
-
static const char* version |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: