java.lang.Object | |
↳ | com.commsignia.v2x.client.ITSConnectionStateAdapter |
Convenience class for receiving connection state events. The methods in this class are empty. Extend this class to create an
ITSConnectionStateListener
and override the methods for events of interest.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ITSConnectionStateAdapter() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
onConnected()
Called when the connection is successfully established.
| ||||||||||
void |
onDisconnected()
Called when the local or remote host disconnects; whether it was a graceful disconnect
or caused by an error.
| ||||||||||
void |
onFrameworkError(Throwable cause)
Called when the framework encounters a fatal error (usually a malformed packet).
| ||||||||||
void |
onFrameworkReady()
Called when the framework is ready to receive or transmit requests.
| ||||||||||
void |
onPreConnect()
Called before the connection initiated towards the remote host.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Called when the connection is successfully established.
Called when the local or remote host disconnects; whether it was a graceful disconnect or caused by an error.
Called when the framework encounters a fatal error (usually a malformed packet).
Called when the framework is ready to receive or transmit requests.
Called before the connection initiated towards the remote host.