public class TimeoutHandler
extends org.jboss.netty.handler.timeout.IdleStateHandler
IdleStateHandler implementation which disconnect the Channel after a configured
idle timeout. Be aware that this handle is not thread safe so it can't be shared across pipelines| Constructor and Description |
|---|
TimeoutHandler(org.jboss.netty.util.Timer timer,
int readerIdleTimeSeconds) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleState state,
long lastActivityTimeMillis) |
afterAdd, afterRemove, beforeAdd, beforeRemove, channelClosed, channelOpen, messageReceived, releaseExternalResources, writeCompleteCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.