Package net.i2p.router
Class RouterDoSThrottle
- java.lang.Object
-
- net.i2p.router.RouterThrottleImpl
-
- net.i2p.router.RouterDoSThrottle
-
- All Implemented Interfaces:
RouterThrottle
@Deprecated class RouterDoSThrottle extends RouterThrottleImpl
Deprecated.unusedMinor extention of the router throttle to handle some DoS events and throttle accordingly.
-
-
Field Summary
-
Fields inherited from class net.i2p.router.RouterThrottleImpl
_context, DEFAULT_MAX_TUNNELS, PROP_MAX_TUNNELS, TUNNEL_ACCEPT
-
-
Constructor Summary
Constructors Constructor Description RouterDoSThrottle(RouterContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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 net.i2p.router.RouterThrottleImpl
acceptNetworkMessage, acceptTunnelRequest, cancelShutdownStatus, getInboundRateDelta, getLocalizedTunnelStatus, getMessageDelay, getTunnelLag, getTunnelStatus, setShutdownStatus, setTunnelStatus
-
-
-
-
Constructor Detail
-
RouterDoSThrottle
public RouterDoSThrottle(RouterContext context)
Deprecated.
-
-
Method Detail
-
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 interfaceRouterThrottle
- Overrides:
acceptNetDbLookupRequest
in classRouterThrottleImpl
-
-