org.androidpn.client
Class PersistentConnectionListener
java.lang.Object
org.androidpn.client.PersistentConnectionListener
- All Implemented Interfaces:
- org.jivesoftware.smack.ConnectionListener
public class PersistentConnectionListener
- extends java.lang.Object
- implements org.jivesoftware.smack.ConnectionListener
A listener class for monitoring connection closing and reconnection events.
- Author:
- Sehwan Noh (devnoh@gmail.com)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentConnectionListener
public PersistentConnectionListener(XmppManager xmppManager)
connectionClosed
public void connectionClosed()
- Specified by:
connectionClosed
in interface org.jivesoftware.smack.ConnectionListener
connectionClosedOnError
public void connectionClosedOnError(java.lang.Exception e)
- Specified by:
connectionClosedOnError
in interface org.jivesoftware.smack.ConnectionListener
reconnectingIn
public void reconnectingIn(int seconds)
- Specified by:
reconnectingIn
in interface org.jivesoftware.smack.ConnectionListener
reconnectionFailed
public void reconnectionFailed(java.lang.Exception e)
- Specified by:
reconnectionFailed
in interface org.jivesoftware.smack.ConnectionListener
reconnectionSuccessful
public void reconnectionSuccessful()
- Specified by:
reconnectionSuccessful
in interface org.jivesoftware.smack.ConnectionListener