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, writebind, close, connect, deregister, disconnect, flush, readchannelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredCopyright © 2016–2024. All rights reserved.