Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionClosedListener |
class |
AbstractConnectionListener
The AbstractConnectionListener class provides an empty implementation for all
methods defined by the
ConnectionListener interface. |
Modifier and Type | Field and Description |
---|---|
protected Set<ConnectionListener> |
AbstractXMPPConnection.connectionListeners
A collection of ConnectionListeners which listen for connection closing
and reconnection events.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractXMPPConnection.addConnectionListener(ConnectionListener connectionListener) |
void |
XMPPConnection.addConnectionListener(ConnectionListener connectionListener)
Adds a connection listener to this connection that will be notified when
the connection closes or fails.
|
void |
AbstractXMPPConnection.removeConnectionListener(ConnectionListener connectionListener) |
void |
XMPPConnection.removeConnectionListener(ConnectionListener connectionListener)
Removes a connection listener from this connection.
|