Package org.jboss.remoting3
Interface CloseHandler<T>
-
- Type Parameters:
T
- the type of resource
- All Superinterfaces:
EventListener
public interface CloseHandler<T> extends EventListener
A handler which is notified of a resource close.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleClose(T closed, IOException exception)
Receive a notification that the resource was closed.
-
-
-
Method Detail
-
handleClose
void handleClose(T closed, IOException exception)
Receive a notification that the resource was closed.- Parameters:
closed
- the closed resourceexception
- the exception which occurred during close, if any
-
-