public abstract class

ITSConnectionStateAdapter

extends Object
implements ITSConnectionStateListener
java.lang.Object
   ↳ com.commsignia.v2x.client.ITSConnectionStateAdapter

Class Overview

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.

Summary

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
From class java.lang.Object
From interface com.commsignia.v2x.client.ITSConnectionStateListener

Public Constructors

public ITSConnectionStateAdapter ()

Public Methods

public void onConnected ()

Called when the connection is successfully established.

public void onDisconnected ()

Called when the local or remote host disconnects; whether it was a graceful disconnect or caused by an error.

public void onFrameworkError (Throwable cause)

Called when the framework encounters a fatal error (usually a malformed packet).

public void onFrameworkReady ()

Called when the framework is ready to receive or transmit requests.

public void onPreConnect ()

Called before the connection initiated towards the remote host.