onConnectionFailure
onConnectionFailure — a virtual method invoked when a connection or attempt to connect
fails.
virtual void onConnectionFailure( | host, | |
| port, | ||
reason); |
LPCTSTR host;int port;LPCTSTR reason;virtual void onConnectionFailure( | host, | |
| port, | ||
reason); |
String host;int port;String reason;hostThe name of the host running the DataHub instance.
portThe connection port number.
reasonThe reason for the failure.
This virtual method is invoked when a connection or attempt to connect fails.
The default behaviour is to make a call to
startReconnectionTimer.