There are several callbacks associated with the
DataHubConnector class. In C++ these are methods of the
DataHubConnector class itself, while in Java and
.NET they are methods of a separate interface, the
DataHubEventConsumer interface.
Status Changes
Connections
onConnectionSuccess - a virtual method
invoked when a connection is established. |
onAlive - a virtual method invoked on
receipt of a heartbeat from the DataHub instance. |
onConnectionFailure - a virtual method
invoked when a connection or attempt to connect fails. |
Message Receipts
onAsyncMessage - a virtual method invoked on
receipt of a DataHub message. |
onSuccess - a virtual method invoked on
receipt of a success message. |
onError - a virtual method invoked on
receipt of an error message. |
Point Changes
onPointChange - a virtual method invoked on
receipt of a point value change. |
onPointEcho - a virtual method invoked on
receipt of a locally changed point value. |