public interface IpFilterListener
IpFilteringHandler
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
allowed(ChannelHandlerContext ctx,
ChannelEvent e,
InetSocketAddress inetSocketAddress)
Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept().
|
boolean |
continues(ChannelHandlerContext ctx,
ChannelEvent e)
Called in handleUpstream, if this channel was previously blocked,
to check if whatever the event, it should be passed to the next entry in the pipeline.
|
ChannelFuture |
refused(ChannelHandlerContext ctx,
ChannelEvent e,
InetSocketAddress inetSocketAddress)
Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept().
|
ChannelFuture allowed(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress)
inetSocketAddress
- the remote InetSocketAddress
from clientChannelFuture refused(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress)
inetSocketAddress
- the remote InetSocketAddress
from clientboolean continues(ChannelHandlerContext ctx, ChannelEvent e)
Copyright © 2008-2014 The Netty Project. All Rights Reserved.