public class MaxIdleTimeHandler
extends org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
| 构造器和说明 |
|---|
MaxIdleTimeHandler(LoggerFactory loggerFactory,
int maxIdleTimeSeconds) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e) |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic MaxIdleTimeHandler(LoggerFactory loggerFactory, int maxIdleTimeSeconds)
public void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e)
throws InterruptedException
channelIdle 在类中 org.jboss.netty.handler.timeout.IdleStateAwareChannelHandlerInterruptedExceptionCopyright © 2020. All rights reserved.