onConnectionSuccess

onConnectionSuccess — a virtual method invoked when a connection is established.

Synopsis

For C++:
virtual void onConnectionSuccess(host,  
 port); 
LPCTSTR host;
int port;
 
For Java and C#:
virtual void onConnectionSuccess(host,  
 port); 
String host;
int port;
 

Parameters

host

The name of the host running the DataHub instance.

port

The connection port number.

Description

This virtual method is invoked when a connection is established. The default behaviour is to make a call to cancelReconnectionTimer.

See Also

onStatusChange, onConnectionFailure, cancelReconnectionTimer