net.i2p.router.transport.udp
Class IPThrottler
java.lang.Object
net.i2p.router.transport.udp.IPThrottler
class IPThrottler
- extends Object
Count IPs
- Since:
- 0.9.3
Method Summary |
boolean |
shouldThrottle(byte[] ip)
Increments before checking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPThrottler
public IPThrottler(int max,
long time)
shouldThrottle
public boolean shouldThrottle(byte[] ip)
- Increments before checking
- Returns:
- true if ip.length != 4