Definition at line 36 of file Handler.h.
◆ Handler()
Performs instance initialization.
- Parameters
-
settings | defines values for various options which affect handler behavior like enabling logging during execution of the handler. |
◆ ~Handler()
◆ connect()
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. |
◆ disconnect()
◆ licenseExpirationDate()
const char * licenseExpirationDate |
( |
| ) |
const |
Returns the license expiration date.
◆ log() [1/3]
Logs the given user-level message to the handler log.
◆ log() [2/3]
void log |
( |
LogLevel::Enum | logLevel, |
|
|
const char * | logMessage, |
|
|
size_t | length ) |
Logs the given user-level message to the handler log.
◆ log() [3/3]
Logs the given user-level message to the handler log.
◆ registerErrorListener()
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
-
◆ registerHandlerStateListener()
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
-
◆ registerRecordListener()
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
-
◆ registerWarningListener()
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
-
◆ state()
◆ subscribe()
Subscribes to the records with given field ID.
- Parameters
-
fieldId | - identifier of field. |
- Exceptions
-
◆ unsubscribe()
void unsubscribe |
( |
FieldId | fieldId | ) |
|
Unsubscribes for the records with given field ID.
- Parameters
-
fieldId | - identifier of field. |
- Exceptions
-
◆ version()