| 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> |
Connection.connectionListeners
A collection of ConnectionListeners which listen for connection closing
and reconnection events.
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ConnectionListener> |
Connection.getConnectionListeners()
Get the collection of listeners that are interested in connection events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.addConnectionListener(ConnectionListener connectionListener)
Adds a connection listener to this connection that will be notified when
the connection closes or fails.
|
void |
Connection.removeConnectionListener(ConnectionListener connectionListener)
Removes a connection listener from this connection.
|
Copyright © 2014. All Rights Reserved.