Package | Description |
---|---|
bt | |
bt.data | |
bt.processor.magnet | |
bt.processor.torrent | |
bt.torrent |
Modifier and Type | Method and Description |
---|---|
B |
TorrentClientBuilder.afterFileDownloaded(FileDownloadCompleteCallback callback)
Provide a callback to invoke when an individual file in the torrent has completed and verified
|
Modifier and Type | Method and Description |
---|---|
DataDescriptor |
DataDescriptorFactory.createDescriptor(Torrent torrent,
Storage storage,
FileDownloadCompleteCallback fileCompletionCallback) |
DataDescriptor |
IDataDescriptorFactory.createDescriptor(Torrent torrent,
Storage storage,
FileDownloadCompleteCallback fileCompletionCallback)
Create a data descriptor for a given torrent
with the storage provided as the data back-end.
|
Constructor and Description |
---|
MagnetContext(MagnetUri magnetUri,
PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
FileDownloadCompleteCallback fileCompletionCallback,
Storage storage) |
Modifier and Type | Method and Description |
---|---|
Optional<FileDownloadCompleteCallback> |
TorrentContext.getFileCompletionCallback() |
Constructor and Description |
---|
TorrentContext(PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
FileDownloadCompleteCallback fileCompletionCallback,
Storage storage,
Supplier<Torrent> torrentSupplier) |
Modifier and Type | Method and Description |
---|---|
TorrentDescriptor |
AdhocTorrentRegistry.register(Torrent torrent,
Storage storage,
FileDownloadCompleteCallback completedFileCallbacks) |
TorrentDescriptor |
TorrentRegistry.register(Torrent torrent,
Storage storage,
FileDownloadCompleteCallback fileCompletionCallback)
Get an existing torrent descriptor for a given torrent
or create a new one if it does not exist.
|
Copyright © 2016–2021. All rights reserved.