public class IdleHandler
extends io.netty.handler.timeout.ReadTimeoutHandler
Constructor and Description |
---|
IdleHandler(long readerIdleTime,
TimeUnit unit)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
readTimedOut(io.netty.channel.ChannelHandlerContext ctx) |
channelActive, channelInactive, channelReadComplete, channelRegistered, getAllIdleTimeInMillis, getReaderIdleTimeInMillis, getWriterIdleTimeInMillis, handlerAdded, handlerRemoved, newIdleStateEvent, write
bind, close, connect, deregister, disconnect, flush, read
channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
public IdleHandler(long readerIdleTime, TimeUnit unit)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.handler.timeout.IdleStateHandler
Exception
protected void readTimedOut(io.netty.channel.ChannelHandlerContext ctx)
readTimedOut
in class io.netty.handler.timeout.ReadTimeoutHandler
Copyright © 2020 OpenDaylight. All rights reserved.