public class ConnectionTrackingHandler
extends org.jboss.netty.channel.SimpleChannelHandler
Channels
to the provided ChannelGroup
.Constructor and Description |
---|
ConnectionTrackingHandler(org.jboss.netty.channel.group.ChannelGroup channelGroup) |
Modifier and Type | Method and Description |
---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
bindRequested, channelBound, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested
public ConnectionTrackingHandler(org.jboss.netty.channel.group.ChannelGroup channelGroup)
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws java.lang.Exception
channelOpen
in class org.jboss.netty.channel.SimpleChannelHandler
java.lang.Exception
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws java.lang.Exception
channelClosed
in class org.jboss.netty.channel.SimpleChannelHandler
java.lang.Exception
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e) throws java.lang.Exception
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelHandler
java.lang.Exception