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