Package org.jboss.netty.handler.timeout
Class WriteTimeoutHandler.WriteTimeoutTask
- java.lang.Object
-
- org.jboss.netty.handler.timeout.WriteTimeoutHandler.WriteTimeoutTask
-
- All Implemented Interfaces:
TimerTask
- Enclosing class:
- WriteTimeoutHandler
private final class WriteTimeoutHandler.WriteTimeoutTask extends java.lang.Object implements TimerTask
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelHandlerContext
ctx
private ChannelFuture
future
-
Constructor Summary
Constructors Constructor Description WriteTimeoutTask(ChannelHandlerContext ctx, ChannelFuture future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
fireWriteTimeOut(ChannelHandlerContext ctx)
void
run(Timeout timeout)
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.
-
-
-
Field Detail
-
ctx
private final ChannelHandlerContext ctx
-
future
private final ChannelFuture future
-
-
Constructor Detail
-
WriteTimeoutTask
WriteTimeoutTask(ChannelHandlerContext ctx, ChannelFuture future)
-
-
Method Detail
-
run
public void run(Timeout timeout) throws java.lang.Exception
Description copied from interface:TimerTask
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.
-
fireWriteTimeOut
private void fireWriteTimeOut(ChannelHandlerContext ctx)
-
-