Package org.jboss.netty.handler.timeout
Class WriteTimeoutHandler.TimeoutCanceller
- java.lang.Object
-
- org.jboss.netty.handler.timeout.WriteTimeoutHandler.TimeoutCanceller
-
- All Implemented Interfaces:
java.util.EventListener,ChannelFutureListener
- Enclosing class:
- WriteTimeoutHandler
private static final class WriteTimeoutHandler.TimeoutCanceller extends java.lang.Object implements ChannelFutureListener
-
-
Field Summary
Fields Modifier and Type Field Description private Timeouttimeout-
Fields inherited from interface org.jboss.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE
-
-
Constructor Summary
Constructors Constructor Description TimeoutCanceller(Timeout timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperationComplete(ChannelFuture future)Invoked when the I/O operation associated with theChannelFuturehas been completed.
-
-
-
Field Detail
-
timeout
private final Timeout timeout
-
-
Constructor Detail
-
TimeoutCanceller
TimeoutCanceller(Timeout timeout)
-
-
Method Detail
-
operationComplete
public void operationComplete(ChannelFuture future) throws java.lang.Exception
Description copied from interface:ChannelFutureListenerInvoked when the I/O operation associated with theChannelFuturehas been completed.- Specified by:
operationCompletein interfaceChannelFutureListener- Parameters:
future- the sourceChannelFuturewhich called this callback- Throws:
java.lang.Exception
-
-