Packages that use FIFOBandwidthLimiter.SimpleRequest
Package
Description
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
Uses of FIFOBandwidthLimiter.SimpleRequest in net.i2p.router.transport
Fields in net.i2p.router.transport with type parameters of type FIFOBandwidthLimiter.SimpleRequestModifier and TypeFieldDescriptionprivate final List<FIFOBandwidthLimiter.SimpleRequest> FIFOBandwidthLimiter._pendingInboundRequestsInbound requests waiting for capacity.private final List<FIFOBandwidthLimiter.SimpleRequest> FIFOBandwidthLimiter._pendingOutboundRequestsOutbound requests waiting for capacity.Methods in net.i2p.router.transport with parameters of type FIFOBandwidthLimiter.SimpleRequestModifier and TypeMethodDescriptionprivate voidFIFOBandwidthLimiter.requestInbound(FIFOBandwidthLimiter.SimpleRequest req, int bytesIn, String purpose) The transports don't use this any more, so make it private and a SimpleRequest instead of a Request So there's no more casting.private voidFIFOBandwidthLimiter.requestOutbound(FIFOBandwidthLimiter.SimpleRequest req, int bytesOut, String purpose) Queues an outbound request for capacity.private booleanFIFOBandwidthLimiter.resetIfReusable(FIFOBandwidthLimiter.SimpleRequest sr, int bytesIn, int priority) Reset a previously allocated SimpleRequest for reuse if it is complete (fully allocated) and not aborted.private booleanFIFOBandwidthLimiter.resetIfReusableOutbound(FIFOBandwidthLimiter.SimpleRequest sr, int bytesOut, int priority) Reset a previously allocated SimpleRequest for reuse if it is complete (fully allocated) and not aborted.