Package org.jboss.netty.handler.timeout
Class ReadTimeoutHandler.ReadTimeoutTask
- java.lang.Object
-
- org.jboss.netty.handler.timeout.ReadTimeoutHandler.ReadTimeoutTask
-
- All Implemented Interfaces:
TimerTask
- Enclosing class:
- ReadTimeoutHandler
private final class ReadTimeoutHandler.ReadTimeoutTask extends java.lang.Object implements TimerTask
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelHandlerContext
ctx
-
Constructor Summary
Constructors Constructor Description ReadTimeoutTask(ChannelHandlerContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
fireReadTimedOut(ChannelHandlerContext ctx)
void
run(Timeout timeout)
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.
-
-
-
Field Detail
-
ctx
private final ChannelHandlerContext ctx
-
-
Constructor Detail
-
ReadTimeoutTask
ReadTimeoutTask(ChannelHandlerContext ctx)
-
-
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)
.
-
fireReadTimedOut
private void fireReadTimedOut(ChannelHandlerContext ctx) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-