Package org.jivesoftware.smack
Class AbstractConnectionClosedListener
- java.lang.Object
-
- org.jivesoftware.smack.AbstractConnectionClosedListener
-
- All Implemented Interfaces:
ConnectionListener
public abstract class AbstractConnectionClosedListener extends java.lang.Object implements ConnectionListener
-
-
Constructor Summary
Constructors Constructor Description AbstractConnectionClosedListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconnectionClosed()Notification that the connection was closed normally.voidconnectionClosedOnError(java.lang.Exception e)Notification that the connection was closed due to an exception.abstract voidconnectionTerminated()-
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
-
-
-
-
Method Detail
-
connectionClosed
public final void connectionClosed()
Description copied from interface:ConnectionListenerNotification that the connection was closed normally.- Specified by:
connectionClosedin interfaceConnectionListener
-
connectionClosedOnError
public final void connectionClosedOnError(java.lang.Exception e)
Description copied from interface:ConnectionListenerNotification 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:
connectionClosedOnErrorin interfaceConnectionListener- Parameters:
e- the exception.
-
connectionTerminated
public abstract void connectionTerminated()
-
-