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 Timeout
timeout
-
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 void
operationComplete(ChannelFuture future)
Invoked when the I/O operation associated with theChannelFuture
has 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:ChannelFutureListener
Invoked when the I/O operation associated with theChannelFuture
has been completed.- Specified by:
operationComplete
in interfaceChannelFutureListener
- Parameters:
future
- the sourceChannelFuture
which called this callback- Throws:
java.lang.Exception
-
-