Package org.jivesoftware.openfire
Interface ConnectionCloseListener
public interface ConnectionCloseListener
Implement and register with a connection to receive notification
of the connection closing.
- Author:
- Iain Shigeoka, Guus der Kinderen, guus@goodbytes.nl
-
Method Summary
Modifier and TypeMethodDescriptiononConnectionClosing(Object handback) Called when a connection is being closed.
-
Method Details
-
onConnectionClosing
Called when a connection is being closed. This method is intended to be used to start asynchronous processes. The Future that is returned is to be used to status of such an asynchronous process.- Parameters:
handback- The handback object associated with the connection listener during Connection.registerCloseListener()- Returns:
- a Future representing pending completion of the event listener invocation.
-