パッケージ | 説明 |
---|---|
org.klomp.snark |
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(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.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) java.util.List<Request> |
PeerState.returnPartialPieces() |
Get partial pieces, give them back to PeerCoordinator.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) void |
PeerState.pieceMessage(Request req) |
Called when a full chunk (i.e.
|
(package private) void |
PeerConnectionOut.sendCancel(Request req) |
send cancel
|
(package private) void |
PeerConnectionOut.sendRequest(Request req) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) void |
PeerConnectionOut.retransmitRequests(java.util.List<Request> requests) |
|
void |
PeerCoordinator.savePartialPieces(Peer peer,
java.util.List<Request> partials) |
Save partial pieces on peer disconnection
and hopefully restart it later.
|
void |
PeerListener.savePartialPieces(Peer peer,
java.util.List<Request> pcs) |
Called when the peer has disconnected and the peer task may have a partially
downloaded piece that the PeerCoordinator can save
|
(package private) void |
PeerConnectionOut.sendRequests(java.util.List<Request> requests) |