Package | Description |
---|---|
bt | |
bt.data | |
bt.data.file | |
bt.processor | |
bt.processor.magnet | |
bt.processor.torrent | |
bt.torrent | |
bt.torrent.callbacks |
Modifier and Type | Method and Description |
---|---|
B |
TorrentClientBuilder.storage(Storage storage)
Set the provided storage as the data back-end
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
FileSystemStorage
Provides file-system based storage for torrent files.
|
Modifier and Type | Method and Description |
---|---|
Storage |
ProcessingContext.getStorage() |
Constructor and Description |
---|
MagnetContext(MagnetUri magnetUri,
PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
FileDownloadCompleteCallback fileCompletionCallback,
Storage storage) |
MagnetContext(MagnetUri magnetUri,
PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
Storage storage) |
MagnetContext(MagnetUri magnetUri,
PieceSelector pieceSelector,
Storage storage) |
Modifier and Type | Method and Description |
---|---|
Storage |
TorrentContext.getStorage() |
Constructor and Description |
---|
TorrentContext(PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
FileDownloadCompleteCallback fileCompletionCallback,
Storage storage,
Supplier<Torrent> torrentSupplier) |
TorrentContext(PieceSelector pieceSelector,
FilePrioritySkipSelector fileSelector,
Storage storage,
Supplier<Torrent> torrentSupplier) |
TorrentContext(PieceSelector pieceSelector,
Storage storage,
Supplier<Torrent> torrentSupplier) |
Modifier and Type | Method and Description |
---|---|
TorrentDescriptor |
AdhocTorrentRegistry.getOrCreateDescriptor(Torrent torrent,
Storage storage) |
TorrentDescriptor |
TorrentRegistry.getOrCreateDescriptor(Torrent torrent,
Storage storage)
Deprecated.
since 1.3 in favor of more clearly named
TorrentRegistry.register(Torrent, Storage, FileDownloadCompleteCallback) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
FileDownloadCompleteCallback.fileDownloadCompleted(Torrent torrent,
TorrentFile tf,
Storage s) |
Copyright © 2016–2021. All rights reserved.