Class WriteTimeoutHandler.WriteTimeoutTask
java.lang.Object
io.netty.handler.timeout.WriteTimeoutHandler.WriteTimeoutTask
- All Implemented Interfaces:
ChannelFutureListener, GenericFutureListener<ChannelFuture>, java.lang.Runnable, java.util.EventListener
- Enclosing class:
WriteTimeoutHandler
private final class WriteTimeoutHandler.WriteTimeoutTask
extends java.lang.Object
implements java.lang.Runnable, ChannelFutureListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChannelHandlerContext(package private) WriteTimeoutHandler.WriteTimeoutTask(package private) WriteTimeoutHandler.WriteTimeoutTaskprivate final ChannelPromise(package private) Future<?> Fields inherited from interface ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoperationComplete(ChannelFuture future) Invoked when the operation associated with theFuturehas been completed.voidrun()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ctx
-
promise
-
prev
-
next
-
scheduledFuture
Future<?> scheduledFuture
-
-
Constructor Details
-
WriteTimeoutTask
WriteTimeoutTask(ChannelHandlerContext ctx, ChannelPromise promise)
-
-
Method Details
-
run
public void run()- Specified by:
runin interfacejava.lang.Runnable
-
operationComplete
Description copied from interface:GenericFutureListenerInvoked when the operation associated with theFuturehas been completed.- Specified by:
operationCompletein interfaceGenericFutureListener<ChannelFuture>- Parameters:
future- the sourceFuturewhich called this callback- Throws:
java.lang.Exception
-