| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.AbstractConnectionListener
public class AbstractConnectionListener
The AbstractConnectionListener class provides an empty implementation for all
 methods defined by the ConnectionListener interface. This is a
 convenience class which should be used in case you do not need to implement
 all methods.
| Constructor Summary | |
|---|---|
| AbstractConnectionListener() | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractConnectionListener()
| Method Detail | 
|---|
public void connectionClosed()
ConnectionListener
connectionClosed in interface ConnectionListenerpublic void connectionClosedOnError(Exception e)
ConnectionListener
connectionClosedOnError in interface ConnectionListenere - the exception.public void reconnectingIn(int seconds)
ConnectionListener
reconnectingIn in interface ConnectionListenerseconds - remaining seconds before attempting a reconnection.public void reconnectionFailed(Exception e)
ConnectionListener
reconnectionFailed in interface ConnectionListenere - the exception that caused the reconnection to fail.public void reconnectionSuccessful()
ConnectionListener
reconnectionSuccessful in interface ConnectionListener| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||