public static class UdpWorker.MyIdleHandler
extends org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
Modifier and Type | Field and Description |
---|---|
private UdpWorker |
udpWorker
The udp worker.
|
Constructor and Description |
---|
MyIdleHandler(UdpWorker udpWorker)
Instantiates a new my idle handler.
|
Modifier and Type | Method and Description |
---|---|
void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e)
this case is like a read timeout where did not get anything from the
server for a long time.
|
handleUpstream
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested
private final UdpWorker udpWorker
public MyIdleHandler(UdpWorker udpWorker)
udpWorker
- the UdpWorker workerpublic void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.handler.timeout.IdleStateEvent e)
channelIdle
in class org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.handler.timeout.IdleStateEvent)