|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PartialPiece | |
---|---|
org.klomp.snark |
Uses of PartialPiece in org.klomp.snark |
---|
Methods in org.klomp.snark that return PartialPiece | |
---|---|
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 |
PeerCoordinator.getPartialPiece(Peer peer,
BitField havePieces)
Return partial piece to the PeerState if it's still wanted and peer has it. |
Methods in org.klomp.snark that return types with arguments of type PartialPiece | |
---|---|
(package private) List<PartialPiece> |
PeerState.returnPartialPieces()
Get partial pieces, give them back to PeerCoordinator. |
Method parameters in org.klomp.snark with type arguments of type PartialPiece | |
---|---|
void |
PeerListener.savePartialPieces(Peer peer,
List<PartialPiece> pcs)
Called when the peer has disconnected and the peer task may have a partially downloaded piece that the PeerCoordinator can save |
void |
PeerCoordinator.savePartialPieces(Peer peer,
List<PartialPiece> partials)
Save partial pieces on peer disconnection and hopefully restart it later. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |