KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > ConnectionCloseListener


1 /**
2  * $RCSfile: ConnectionCloseListener.java,v $
3  * $Revision: 1.2 $
4  * $Date: 2004/10/25 23:41:56 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.messenger;
13
14 /**
15  * Implement and register with a connection to receive notification
16  * of the connection closing.
17  *
18  * @author Iain Shigeoka
19  */

20 public interface ConnectionCloseListener {
21     /**
22      * Called when a connection is closed.
23      *
24      * @param handback The handback object associated with the connection listener during Connection.registerCloseListener()
25      */

26     public void onConnectionClose(Object JavaDoc handback);
27 }
28
Popular Tags