public interface ConnectionListener
Connection
. The
listener is configured in the Options
at creation time.Modifier and Type | Interface and Description |
---|---|
static class |
ConnectionListener.Events |
Modifier and Type | Method and Description |
---|---|
void |
connectionEvent(Connection conn,
ConnectionListener.Events type)
Connection related events that occur asynchronously in the client code are
sent to a ConnectionListener via a single method.
|
void connectionEvent(Connection conn, ConnectionListener.Events type)
conn
- the connection associated with the errortype
- the type of event that has occurred