org.gudy.azureus2.pluginsimpl.local.ipfilter
Class IPBlockedImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ipfilter.IPBlockedImpl
All Implemented Interfaces:
IPBlocked

public class IPBlockedImpl
extends Object
implements IPBlocked


Field Summary
protected  BlockedIp blocked
           
protected  IPFilter filter
           
 
Constructor Summary
protected IPBlockedImpl(IPFilter _filter, BlockedIp _blocked)
           
 
Method Summary
 String getBlockedIP()
           
 long getBlockedTime()
           
 String getBlockedTorrentName()
          returns the torrent name the IP was blocked trying to access
 IPRange getBlockingRange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

protected IPFilter filter

blocked

protected BlockedIp blocked
Constructor Detail

IPBlockedImpl

protected IPBlockedImpl(IPFilter _filter,
                        BlockedIp _blocked)
Method Detail

getBlockedIP

public String getBlockedIP()
Specified by:
getBlockedIP in interface IPBlocked

getBlockedTorrentName

public String getBlockedTorrentName()
Description copied from interface: IPBlocked
returns the torrent name the IP was blocked trying to access

Specified by:
getBlockedTorrentName in interface IPBlocked
Returns:

getBlockedTime

public long getBlockedTime()
Specified by:
getBlockedTime in interface IPBlocked

getBlockingRange

public IPRange getBlockingRange()
Specified by:
getBlockingRange in interface IPBlocked