Package org.apache.mina.core.service
Class IoServiceListenerSupport.LockNotifyingListener
- java.lang.Object
-
- org.apache.mina.core.service.IoServiceListenerSupport.LockNotifyingListener
-
- All Implemented Interfaces:
java.util.EventListener,IoFutureListener<IoFuture>
- Enclosing class:
- IoServiceListenerSupport
private static class IoServiceListenerSupport.LockNotifyingListener extends java.lang.Object implements IoFutureListener<IoFuture>
A listener in charge of releasing the lock when the close has been completed
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Objectlock-
Fields inherited from interface org.apache.mina.core.future.IoFutureListener
CLOSE
-
-
Constructor Summary
Constructors Constructor Description LockNotifyingListener(java.lang.Object lock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperationComplete(IoFuture future)Invoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion.
-
-
-
Method Detail
-
operationComplete
public void operationComplete(IoFuture future)
Description copied from interface:IoFutureListenerInvoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion.- Specified by:
operationCompletein interfaceIoFutureListener<IoFuture>- Parameters:
future- The sourceIoFuturewhich called this callback.
-
-