Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.klomp.snark.PartialPiece

Packages that use PartialPiece
org.klomp.snark |

Uses of PartialPiece in org.klomp.snark

Methods in org.klomp.snark that return PartialPiece
`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

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` | `PeerCoordinator.savePartialPieces(Peer peer, List<PartialPiece> partials)` Save partial pieces on peer disconnection and hopefully restart it later.
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES