Package | Description |
---|---|
bt.torrent |
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(TorrentId torrentId) |
TorrentDescriptor |
TorrentRegistry.register(TorrentId torrentId)
Get an existing torrent descriptor for a given torrent ID
or create a new one if it does not exist.
|
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 |
---|---|
Optional<TorrentDescriptor> |
AdhocTorrentRegistry.getDescriptor(Torrent torrent) |
Optional<TorrentDescriptor> |
TorrentRegistry.getDescriptor(Torrent torrent)
Deprecated.
since 1.3 in favor of
TorrentRegistry.getDescriptor(TorrentId) |
Optional<TorrentDescriptor> |
AdhocTorrentRegistry.getDescriptor(TorrentId torrentId) |
Optional<TorrentDescriptor> |
TorrentRegistry.getDescriptor(TorrentId torrentId)
Get a torrent descriptor for a given torrent, if exists.
|
Copyright © 2016–2021. All rights reserved.