public interface

ITSConnectionStateListener

com.commsignia.v2x.client.ITSConnectionStateListener
Known Indirect Subclasses

Class Overview

Listener interface for connection state events.

Summary

Public Methods
abstract void onConnected()
Called when the connection is successfully established.
abstract void onDisconnected()
Called when the local or remote host disconnects; whether it was a graceful disconnect or caused by an error.
abstract void onFrameworkError(Throwable cause)
Called when the framework encounters a fatal error (usually a malformed packet).
abstract void onFrameworkReady()
Called when the framework is ready to receive or transmit requests.
abstract void onPreConnect()
Called before the connection initiated towards the remote host.

Public Methods

public abstract void onConnected ()

Called when the connection is successfully established.

public abstract void onDisconnected ()

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

public abstract void onFrameworkError (Throwable cause)

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

public abstract void onFrameworkReady ()

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

public abstract void onPreConnect ()

Called before the connection initiated towards the remote host.