org.apache.ftpserver.ipfilter
Interface IpFilter

All Known Implementing Classes:
DefaultIpFilter

public interface IpFilter

The interface for filtering connections based on the client's IP address.

Author:
Apache MINA Project

Method Summary
 boolean accept(InetAddress address)
          Tells whether or not the given IP address is accepted by this filter.
 

Method Detail

accept

boolean accept(InetAddress address)
Tells whether or not the given IP address is accepted by this filter.

Parameters:
address - the IP address to check
Returns:
true, if the given IP address is accepted by this filter; false, otherwise.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.