public interface ConnectionListener
| Modifier and Type | Method and Description |
|---|---|
void |
authenticated(XMPPConnection connection)
TODO
|
void |
connected(XMPPConnection connection)
TODO
|
void |
connectionClosed()
Notification that the connection was closed normally or that the reconnection
process has been aborted.
|
void |
connectionClosedOnError(Exception e)
Notification that the connection was closed due to an exception.
|
void |
reconnectingIn(int seconds)
The connection will retry to reconnect in the specified number of seconds.
|
void |
reconnectionFailed(Exception e)
An attempt to connect to the server has failed.
|
void |
reconnectionSuccessful()
The connection has reconnected successfully to the server.
|
void connected(XMPPConnection connection)
connection - void authenticated(XMPPConnection connection)
connection - void connectionClosed()
void connectionClosedOnError(Exception e)
e - the exception.void reconnectingIn(int seconds)
seconds - remaining seconds before attempting a reconnection.void reconnectionSuccessful()
void reconnectionFailed(Exception e)
e - the exception that caused the reconnection to fail.