public final class DhtLookup
extends java.lang.Object
| Constructor and Description |
|---|
DhtLookup(dht_lookup l)
internal use
|
| Modifier and Type | Method and Description |
|---|---|
int |
branchFactor()
the branch factor for this lookup.
|
int |
firstTimeout()
the number of outstanding requests
that have exceeded the short timeout
and are considered timed out in the
sense that they increased the branch
factor.
|
int |
lastSent()
the number of seconds ago the
last message was sent that's still
outstanding.
|
int |
nodesLeft()
the number of nodes left that could be queries for this
lookup.
|
int |
outstandingRequests()
the number of outstanding request to individual nodes
this lookup has right now.
|
int |
responses()
the total number of responses we have received for this
lookup so far for this lookup.
|
dht_lookup |
swig()
The native object.
|
Sha1Hash |
target()
The node-id or info-hash target for this lookup.
|
int |
timeouts()
the total number of requests that have timed out so far
for this lookup.
|
java.lang.String |
type()
string literal indicating which kind of lookup this is.
|
public DhtLookup(dht_lookup l)
l - public dht_lookup swig()
public java.lang.String type()
public int outstandingRequests()
public int timeouts()
public int responses()
public int branchFactor()
public int nodesLeft()
public int lastSent()
public int firstTimeout()
public Sha1Hash target()