Uses of Interface
net.i2p.router.transport.FIFOBandwidthLimiter.Request
Package
Description
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
The NTCP transport allows passing I2P messages on top of TCP.
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
-
Uses of FIFOBandwidthLimiter.Request in net.i2p.router.transport
Modifier and TypeMethodDescriptionFIFOBandwidthLimiter.requestInbound
(int bytesIn, String purpose) Request some bytes.FIFOBandwidthLimiter.requestOutbound
(int bytesOut, int priority, String purpose) Request some bytes.Modifier and TypeMethodDescriptionvoid
FIFOBandwidthLimiter.CompleteListener.complete
(FIFOBandwidthLimiter.Request req) Modifier and TypeMethodDescription(package private) final void
FIFOBandwidthLimiter.refillBandwidthQueues
(List<FIFOBandwidthLimiter.Request> buf, long bytesInbound, long bytesOutbound, long maxBurstIn, long maxBurstOut) More bytes are available - add them to the queue and satisfy any requests we can -
Uses of FIFOBandwidthLimiter.Request in net.i2p.router.transport.ntcp
Modifier and TypeMethodDescription(package private) void
NTCPConnection.queuedRecv
(ByteBuffer buf, FIFOBandwidthLimiter.Request req) We have read the data in the buffer, but we can't process it locally yet, because we're choked by the bandwidth limiter. -
Uses of FIFOBandwidthLimiter.Request in net.i2p.router.transport.udp
Modifier and TypeMethodDescriptionUDPPacket.getBandwidthRequest()
So that we can compete with NTCP, we want to request bandwidth in parallel, on the way into the queue, not on the way out.