org.olat.instantMessaging
Class XMPPConnListener
java.lang.Object
org.olat.instantMessaging.XMPPConnListener
- All Implemented Interfaces:
- org.jivesoftware.smack.ConnectionListener
public class XMPPConnListener
- extends java.lang.Object
- implements org.jivesoftware.smack.ConnectionListener
Initial Date: 21.02.2005
Helper Class for connection monitoring of instant messaging connection
- Author:
- guido
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPConnListener
public XMPPConnListener(InstantMessagingClient imc)
connectionClosed
public void connectionClosed()
- called on normal disconnect
- Specified by:
connectionClosed in interface org.jivesoftware.smack.ConnectionListener
- See Also:
ConnectionListener.connectionClosed()
connectionClosedOnError
public void connectionClosedOnError(java.lang.Exception e)
- called automatically when server crashes
- Specified by:
connectionClosedOnError in interface org.jivesoftware.smack.ConnectionListener
- See Also:
ConnectionListener.connectionClosedOnError(java.lang.Exception)
reconnectingIn
public void reconnectingIn(int arg0)
- Specified by:
reconnectingIn in interface org.jivesoftware.smack.ConnectionListener
reconnectionFailed
public void reconnectionFailed(java.lang.Exception arg0)
- Specified by:
reconnectionFailed in interface org.jivesoftware.smack.ConnectionListener
reconnectionSuccessful
public void reconnectionSuccessful()
- Specified by:
reconnectionSuccessful in interface org.jivesoftware.smack.ConnectionListener