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 void
connectionClosed()
Notification that the connection was closed normally.void
connectionClosedOnError(java.lang.Exception e)
Notification that the connection was closed due to an exception.abstract void
connectionTerminated()
-
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 Detail
-
AbstractConnectionClosedListener
public AbstractConnectionClosedListener()
-
-
Method Detail
-
connectionClosed
public final void connectionClosed()
Description copied from interface:ConnectionListener
Notification that the connection was closed normally.- Specified by:
connectionClosed
in interfaceConnectionListener
-
connectionClosedOnError
public final void connectionClosedOnError(java.lang.Exception e)
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
public abstract void connectionTerminated()
-
-