FileDocCategorySizeDatePackage
IpFilter.javaAPI DocAzureus 3.0.3.42820Tue Jun 12 19:46:48 BST 2007org.gudy.azureus2.core3.ipfilter

IpFilter

public interface IpFilter
author
Olivier

Fields Summary
Constructors Summary
Methods Summary
public voidaddListener(IPFilterListener l)

public voidaddRange(IpRange range)

public booleanban(java.lang.String ipAddress, java.lang.String torrent_name, boolean manual)

public voidclearBannedIps()

public voidclearBlockedIPs()

public IpRangecreateRange(boolean sessionOnly)

public BannedIp[]getBannedIps()

public BlockedIp[]getBlockedIps()

public java.io.FilegetFile()

public booleangetInRangeAddressesAreAllowed()

public java.util.ListgetIpRanges()
deprecated and to be removed after 2.0.8.0. Left in to support old SafePeer plugin version that uses this stuff directly...

deprecated
return

public longgetLastUpdateTime()

public intgetNbBannedIps()

public intgetNbIpsBlocked()

public intgetNbIpsBlockedAndLoggable()

public intgetNbRanges()

public IpRange[]getRanges()

public longgetTotalAddressesInRange()

public booleanisEnabled()

public booleanisInRange(java.lang.String ipAddress)

public booleanisInRange(java.lang.String ipAddress, java.lang.String torrent_name, byte[] torrent_hash)

public booleanisInRange(java.lang.String ipAddress, java.lang.String torrent_name, byte[] torrent_hash, boolean loggable)

public booleanisInRange(java.net.InetAddress ipAddress, java.lang.String torrent_name, byte[] torrent_hash, boolean loggable)

public voidmarkAsUpToDate()

public voidreload()

public voidremoveListener(IPFilterListener l)

public voidremoveRange(IpRange range)

public voidsave()

public voidsetEnabled(boolean enabled)

public voidsetInRangeAddressesAreAllowed(boolean b)

public voidunban(java.lang.String ipAddress)

public voidunban(java.lang.String ipAddress, boolean block)