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.
unused
Minor 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
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 Details
-
RouterDoSThrottle
Deprecated.
-
-
Method Details
-
acceptNetDbLookupRequest
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
-