Package io.netty.handler.timeout
Class WriteTimeoutHandler.WriteTimeoutTask
java.lang.Object
io.netty.handler.timeout.WriteTimeoutHandler.WriteTimeoutTask
- All Implemented Interfaces:
ChannelFutureListener
,GenericFutureListener<ChannelFuture>
,Runnable
,EventListener
- Enclosing class:
WriteTimeoutHandler
private final class WriteTimeoutHandler.WriteTimeoutTask
extends Object
implements Runnable, ChannelFutureListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChannelHandlerContext
(package private) WriteTimeoutHandler.WriteTimeoutTask
(package private) WriteTimeoutHandler.WriteTimeoutTask
private final ChannelPromise
(package private) Future
<?> Fields inherited from interface io.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
operationComplete
(ChannelFuture future) Invoked when the operation associated with theFuture
has been completed.void
run()
-
Field Details
-
ctx
-
promise
-
prev
-
next
-
scheduledFuture
Future<?> scheduledFuture
-
-
Constructor Details
-
WriteTimeoutTask
WriteTimeoutTask(ChannelHandlerContext ctx, ChannelPromise promise)
-
-
Method Details
-
run
public void run() -
operationComplete
Description copied from interface:GenericFutureListener
Invoked when the operation associated with theFuture
has been completed.- Specified by:
operationComplete
in interfaceGenericFutureListener<ChannelFuture>
- Parameters:
future
- the sourceFuture
which called this callback- Throws:
Exception
-