Can be registered with a com.pcbsys.nirvana.base.clientimpl.singleconnection.ClientConnectionManagerImpl to receive notifications every time the connection manager establishes a physical connection to the Universal Messaging server or fails to connect.
More...
Inherited by com.pcbsys.nirvana.base.clientimpl.multiconnection.ClientConnectionManagerImpl.ConnectionProtocolVersionValidator.
|
void | connectionEstablished (ClientConnectionManager connectionManager) throws nBaseClientException |
| Will be called just after connection is established with the server but before handshake is initiated. More...
|
|
void | connectionFailed (ClientConnectionManager connectionManager, nBaseClientException cause) |
| Will ne called whenever the client connection manager fails to establish connection. More...
|
|
Can be registered with a com.pcbsys.nirvana.base.clientimpl.singleconnection.ClientConnectionManagerImpl to receive notifications every time the connection manager establishes a physical connection to the Universal Messaging server or fails to connect.
void com.pcbsys.nirvana.base.clientimpl.ConnectCallback.connectionEstablished |
( |
ClientConnectionManager |
connectionManager | ) |
throws nBaseClientException |
Will be called just after connection is established with the server but before handshake is initiated.
- Parameters
-
connectionManager | The client connection manager instance which establishes the connection. |
- Exceptions
-
nBaseClientException | If the connection initiation should be aborted. |
void com.pcbsys.nirvana.base.clientimpl.ConnectCallback.connectionFailed |
( |
ClientConnectionManager |
connectionManager, |
|
|
nBaseClientException |
cause |
|
) |
| |
Will ne called whenever the client connection manager fails to establish connection.
- Parameters
-
connectionManager | The client connection manager instance which failed to establish connection. |
cause | The reason for the connection failure. |