com.valhalla.jbother.jabber.smack
Class ConnectionListener

java.lang.Object
  extended bycom.valhalla.jbother.jabber.smack.ConnectionListener
All Implemented Interfaces:
org.jivesoftware.smack.ConnectionListener

public class ConnectionListener
extends java.lang.Object
implements org.jivesoftware.smack.ConnectionListener

Listens to the connection, watches for drops, etc

Version:
1.0
Author:
Adam Olsen

Constructor Summary
ConnectionListener()
           
 
Method Summary
 void connectionClosed()
          Called if the connection is closed
 void connectionClosedOnError(java.lang.Exception e)
          Called if the connection is lost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionListener

public ConnectionListener()
Method Detail

connectionClosedOnError

public void connectionClosedOnError(java.lang.Exception e)
Called if the connection is lost

Specified by:
connectionClosedOnError in interface org.jivesoftware.smack.ConnectionListener
Parameters:
e - an Exception containing the reason for the connection loss

connectionClosed

public void connectionClosed()
Called if the connection is closed

Specified by:
connectionClosed in interface org.jivesoftware.smack.ConnectionListener