public class ReadTimeoutHandler
extends io.netty.handler.timeout.IdleStateHandler
ReadTimeoutHandler class.
Constructor and Description |
---|
ReadTimeoutHandler(long timeout,
TimeUnit unit)
Constructor for ReadTimeoutHandler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
channelIdle(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.timeout.IdleStateEvent evt) |
protected void |
readTimedOut(io.netty.channel.ChannelHandlerContext ctx)
readTimedOut.
|
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, getAllIdleTimeInMillis, getReaderIdleTimeInMillis, getWriterIdleTimeInMillis, handlerAdded, handlerRemoved, newIdleStateEvent, resetReadTimeout, resetWriteTimeout, write
bind, close, connect, deregister, disconnect, flush, read
channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Copyright © 2016–2024. All rights reserved.