Package net.i2p.router
Class RouterDoSThrottle
java.lang.Object
net.i2p.router.RouterThrottleImpl
net.i2p.router.RouterDoSThrottle
- All Implemented Interfaces:
RouterThrottle
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, DEFAULT_REJECT_STARTUP_TIME, PROP_MAX_TUNNELS, PROP_REJECT_STARTUP_TIME, TUNNEL_ACCEPT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-