Package | Description |
---|---|
org.klomp.snark |
Modifier and Type | Method and Description |
---|---|
(package private) Request |
PeerState.getOutstandingRequest(int piece,
int begin,
int length)
Called when a piece message is being processed by the incoming
connection.
|
Request |
PartialPiece.getRequest()
Convert this PartialPiece to a request for the next chunk.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
PeerState.pieceMessage(Request req)
Called when a full chunk (i.e.
|
(package private) void |
PeerConnectionOut.sendCancel(Request req) |
(package private) void |
PeerConnectionOut.sendRequest(Request req) |
Constructor and Description |
---|
PartialPiece(Request firstOutstandingRequest)
Used by PeerState.
|