net.i2p.router
Class RouterDoSThrottle
java.lang.Object
net.i2p.router.RouterThrottleImpl
net.i2p.router.RouterDoSThrottle
- All Implemented Interfaces:
- RouterThrottle
Deprecated. unused
class RouterDoSThrottle
- extends RouterThrottleImpl
Minor extention of the router throttle to handle some DoS events and
throttle accordingly.
Method Summary |
boolean |
acceptNetDbLookupRequest(Hash key)
Deprecated. Should we accept the netDb lookup message, replying either with the
value or some closer peers, or should we simply drop it due to overload? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouterDoSThrottle
public RouterDoSThrottle(RouterContext context)
- Deprecated.
acceptNetDbLookupRequest
public boolean acceptNetDbLookupRequest(Hash key)
- Deprecated.
- Description copied from interface:
RouterThrottle
- Should we accept the netDb lookup message, replying either with the
value or some closer peers, or should we simply drop it due to overload?
- Specified by:
acceptNetDbLookupRequest
in interface RouterThrottle
- Overrides:
acceptNetDbLookupRequest
in class RouterThrottleImpl