Package org.jivesoftware.smack
Class AbstractConnectionClosedListener
java.lang.Object
org.jivesoftware.smack.AbstractConnectionClosedListener
- All Implemented Interfaces:
ConnectionListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Notification that the connection was closed normally.final void
Notification that the connection was closed due to an exception.abstract void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.ConnectionListener
authenticated, connected, connecting
-
Constructor Details
-
AbstractConnectionClosedListener
public AbstractConnectionClosedListener()
-
-
Method Details
-
connectionClosed
Description copied from interface:ConnectionListener
Notification that the connection was closed normally.- Specified by:
connectionClosed
in interfaceConnectionListener
-
connectionClosedOnError
Description copied from interface:ConnectionListener
Notification that the connection was closed due to an exception. When abruptly disconnected it is possible for the connection to try reconnecting to the server.- Specified by:
connectionClosedOnError
in interfaceConnectionListener
- Parameters:
e
- the exception.
-
connectionTerminated
-