Smack

org.jivesoftware.smack
Interface ConnectionListener


public interface ConnectionListener

Interface that allows for implementing classes to listen for connection closing events. Listeners are reigstered with XMPPConnection objects.

Author:
Matt Tucker
See Also:
XMPPConnection.addConnectionListener(org.jivesoftware.smack.ConnectionListener), XMPPConnection.removeConnectionListener(org.jivesoftware.smack.ConnectionListener)

Method Summary
 void connectionClosed()
          Notification that the connection was closed normally.
 void connectionClosedOnError(Exception e)
          Notification that the connection was closed due to an exception.
 

Method Detail

connectionClosed

void connectionClosed()
Notification that the connection was closed normally.


connectionClosedOnError

void connectionClosedOnError(Exception e)
Notification that the connection was closed due to an exception.

Parameters:
e - the exception.

Smack

Copyright © 2003 Jive Software.