
public class IdleStateAwareChannelUpstreamHandler extends SimpleChannelUpstreamHandler
SimpleChannelUpstreamHandler that adds the handler method
 for an IdleStateEvent.ChannelHandler.Sharable| Constructor and Description | 
|---|
| IdleStateAwareChannelUpstreamHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | channelIdle(ChannelHandlerContext ctx,
           IdleStateEvent e)Invoked when a  Channelhas been idle for a while. | 
| void | handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e)Handles the specified upstream event. | 
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, messageReceived, writeCompletepublic IdleStateAwareChannelUpstreamHandler()
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
SimpleChannelUpstreamHandlerhandleUpstream in interface ChannelUpstreamHandlerhandleUpstream in class SimpleChannelUpstreamHandlerctx - the context object for this handlere - the upstream event to process or interceptExceptionpublic void channelIdle(ChannelHandlerContext ctx, IdleStateEvent e) throws Exception
Channel has been idle for a while.ExceptionCopyright © 2008-2014 The Netty Project. All Rights Reserved.