org.gudy.azureus2.core3.ipfilter.impl
Class IpFilterManagerImpl
java.lang.Object
org.gudy.azureus2.core3.ipfilter.impl.IpFilterManagerImpl
- All Implemented Interfaces:
- ParameterListener, IpFilterManager
public class IpFilterManagerImpl
- extends java.lang.Object
- implements IpFilterManager, ParameterListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
protected static final IpFilterManagerImpl singleton
IpFilterManagerImpl
public IpFilterManagerImpl()
addDescription
public java.lang.Object addDescription(IpRange range,
byte[] description)
- Specified by:
addDescription
in interface IpFilterManager
getDescription
public byte[] getDescription(java.lang.Object info)
- Specified by:
getDescription
in interface IpFilterManager
- Returns:
cacheAllDescriptions
public void cacheAllDescriptions()
- Specified by:
cacheAllDescriptions
in interface IpFilterManager
clearDescriptionCache
public void clearDescriptionCache()
- Specified by:
clearDescriptionCache
in interface IpFilterManager
deleteAllDescriptions
public void deleteAllDescriptions()
- Specified by:
deleteAllDescriptions
in interface IpFilterManager
getSingleton
public static IpFilterManager getSingleton()
getIPFilter
public IpFilter getIPFilter()
- Specified by:
getIPFilter
in interface IpFilterManager
getBadIps
public BadIps getBadIps()
- Specified by:
getBadIps
in interface IpFilterManager
parameterChanged
public void parameterChanged(java.lang.String parameterName)
- Description copied from interface:
ParameterListener
- Called, when a parameter has changed.
The listener could only react if the parameter name is relevant.
Or the listener can just read all parameters again.
- Specified by:
parameterChanged
in interface ParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed