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

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

public class BadIpImpl
extends Object
implements BadIp


Field Summary
protected  String ip
           
protected  long last_time
           
protected  int warning_count
           
 
Constructor Summary
protected BadIpImpl(String _ip)
           
 
Method Summary
 String getIp()
           
 long getLastTime()
           
 int getNumberOfWarnings()
           
protected  int incrementWarnings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ip

protected final String ip

warning_count

protected int warning_count

last_time

protected long last_time
Constructor Detail

BadIpImpl

protected BadIpImpl(String _ip)
Method Detail

incrementWarnings

protected int incrementWarnings()

getIp

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

getNumberOfWarnings

public int getNumberOfWarnings()
Specified by:
getNumberOfWarnings in interface BadIp

getLastTime

public long getLastTime()
Specified by:
getLastTime in interface BadIp