public class CompletableTorrentFile extends Object
Constructor and Description |
---|
CompletableTorrentFile(TorrentFile tf,
long numPieces,
Consumer<TorrentFile> callback) |
Modifier and Type | Method and Description |
---|---|
boolean |
countdown()
Countdown the number of chunks needed by 1.
|
TorrentFile |
getTorrentFile() |
public CompletableTorrentFile(TorrentFile tf, long numPieces, Consumer<TorrentFile> callback)
public boolean countdown()
public TorrentFile getTorrentFile()
Copyright © 2016–2021. All rights reserved.