net.i2p.router.transport
public static interface FIFOBandwidthLimiter.Request
Modifier and Type | Method and Description |
---|---|
void |
abort()
we no longer want the data requested (the connection closed)
|
void |
attach(Object obj) |
Object |
attachment() |
boolean |
getAborted()
was this request aborted?
|
FIFOBandwidthLimiter.CompleteListener |
getCompleteListener() |
int |
getPendingInboundRequested()
how many inbound bytes were requested and haven't yet been allocated?
|
int |
getPendingOutboundRequested()
how many outbound bytes were requested and haven't yet been allocated?
|
String |
getRequestName()
describe this particular request
|
long |
getRequestTime()
when was the request made?
|
int |
getTotalInboundRequested()
how many inbound bytes were requested?
|
int |
getTotalOutboundRequested()
how many outbound bytes were requested?
|
void |
init(int in,
int out,
String target)
thar be dragons
|
void |
setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr) |
void |
waitForNextAllocation()
block until we are allocated some more bytes
|
String getRequestName()
long getRequestTime()
int getTotalOutboundRequested()
int getPendingOutboundRequested()
int getTotalInboundRequested()
int getPendingInboundRequested()
void waitForNextAllocation()
void abort()
boolean getAborted()
void init(int in, int out, String target)
void setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr)
void attach(Object obj)
Object attachment()
FIFOBandwidthLimiter.CompleteListener getCompleteListener()