パッケージ | 説明 |
---|---|
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.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PartialPiece |
PeerCoordinator.getPartialPiece(Peer peer,
BitField havePieces) |
Return partial piece to the PeerState if it's still wanted and peer has it.
|
PartialPiece |
PeerListener.getPartialPiece(Peer peer,
BitField havePieces) |
Called when a peer has connected and there may be a partially
downloaded piece that the coordinatorator can give the peer task
|
PartialPiece |
Request.getPartialPiece() |
The PartialPiece this Request is for
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) boolean |
MetaInfo.checkPiece(PartialPiece pp) |
|
int |
PartialPiece.compareTo(PartialPiece opp) |
|
boolean |
PeerCoordinator.gotPiece(Peer peer,
PartialPiece pp) |
Returns false if the piece is no good (according to the hash).
|
boolean |
PeerListener.gotPiece(Peer peer,
PartialPiece piece) |
Called when a piece is received from the peer.
|
boolean |
Storage.putPiece(PartialPiece pp) |
Put the piece in the Storage if it is correct.
|
コンストラクタ | 説明 |
---|---|
Request(PartialPiece piece,
int off,
int len) |
Creates a new Request.
|