public class FullPieceSelect extends Object implements IPieceSelector
| Constructor and Description |
|---|
FullPieceSelect(Torrent torrent) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Piece> |
getPieceForPeer(Peer peer)
Gets the next piece to download
|
public FullPieceSelect(Torrent torrent)
public Optional<Piece> getPieceForPeer(Peer peer)
IPieceSelectorgetPieceForPeer in interface IPieceSelectorCopyright © 2016. All rights reserved.