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

- Packages that use PartialPiece
  Package | Description
  --- | ---
  org.klomp.snark |

- - ### Uses of PartialPiece in org.klomp.snark

    Methods in org.klomp.snark that return PartialPiece
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `(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
    Modifier and Type | Method and Description
    --- | ---
    `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