org.gudy.azureus2.core3.ipfilter.impl
Class BannedIpImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.ipfilter.impl.BannedIpImpl
All Implemented Interfaces:
BannedIp

public class BannedIpImpl
extends Object
implements BannedIp


Field Summary
protected  String ip
           
protected  long time
           
protected  String torrent_name
           
 
Constructor Summary
protected BannedIpImpl(String _ip, String _torrent_name, boolean _temporary)
           
protected BannedIpImpl(String _ip, String _torrent_name, long _time)
           
 
Method Summary
 long getBanningTime()
           
 String getIp()
           
 String getTorrentName()
           
 boolean isTemporary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected long time

torrent_name

protected final String torrent_name

ip

protected final String ip
Constructor Detail

BannedIpImpl

protected BannedIpImpl(String _ip,
                       String _torrent_name,
                       boolean _temporary)

BannedIpImpl

protected BannedIpImpl(String _ip,
                       String _torrent_name,
                       long _time)
Method Detail

getIp

public String getIp()
Specified by:
getIp in interface BannedIp

isTemporary

public boolean isTemporary()

getBanningTime

public long getBanningTime()
Specified by:
getBanningTime in interface BannedIp

getTorrentName

public String getTorrentName()
Specified by:
getTorrentName in interface BannedIp