public class XioIdleDisconnectHandler
extends io.netty.handler.timeout.IdleStateHandler
Constructor and Description |
---|
XioIdleDisconnectHandler(java.time.Duration readerIdleTime,
java.time.Duration writerIdleTime,
java.time.Duration allIdleTime) |
XioIdleDisconnectHandler(int readerIdleTimeSeconds,
int writerIdleTimeSeconds,
int allIdleTimeSeconds) |
XioIdleDisconnectHandler(long readerIdleTime,
long writerIdleTime,
long allIdleTime,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelIdle(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.timeout.IdleStateEvent evt) |
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, getAllIdleTimeInMillis, getReaderIdleTimeInMillis, getWriterIdleTimeInMillis, handlerAdded, handlerRemoved, newIdleStateEvent, write
bind, close, connect, deregister, disconnect, flush, read
channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
public XioIdleDisconnectHandler(int readerIdleTimeSeconds, int writerIdleTimeSeconds, int allIdleTimeSeconds)
public XioIdleDisconnectHandler(long readerIdleTime, long writerIdleTime, long allIdleTime, TimeUnit unit)
public XioIdleDisconnectHandler(java.time.Duration readerIdleTime, java.time.Duration writerIdleTime, java.time.Duration allIdleTime)
Copyright © 2016. All Rights Reserved.