public static class UdpWorker.UdpChannelHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Modifier and Type | Field and Description |
---|---|
boolean |
hasCaughtException
The has caught exception.
|
private int |
msgRecvCount
The msg recv count.
|
private UdpWorker |
udpWorker
The udp worker.
|
Constructor and Description |
---|
UdpChannelHandler(UdpWorker udpWorker)
Instantiates a new udp channel handler.
|
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
public boolean hasCaughtException
private final UdpWorker udpWorker
private int msgRecvCount
public UdpChannelHandler(UdpWorker udpWorker)
udpWorker
- the udp workerpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler