Class OneIpFilterHandler

java.lang.Object
org.jboss.netty.handler.ipfilter.IpFilteringHandlerImpl
org.jboss.netty.handler.ipfilter.OneIpFilterHandler
All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler, IpFilteringHandler

@Sharable public class OneIpFilterHandler extends IpFilteringHandlerImpl
Handler that block any new connection if there are already a currently active channel connected with the same InetAddress (IP).

Take care to not change isBlocked method except if you know what you are doing since it is used to test if the current closed connection is to be removed or not from the map of currently connected channel.