KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ConnListener


1 import org.jivesoftware.smack.*;
2
3 /** Listens for disconnections from the server.*/
4 public final class ConnListener implements ConnectionListener{
5     
6     /** Nothing done.*/
7     public void connectionClosed(){
8         // do nothing
9
}
10     
11     /**Calls WhisperIM.MainWindow.doConnectionClosed(e).*/
12     public void connectionClosedOnError(Exception JavaDoc e){
13         WhisperIM.MainWindow.doConnectionClosed(e);
14     }
15 }
Popular Tags