Package | Description |
---|---|
bt.data | |
bt.processor.torrent | |
bt.torrent | |
bt.torrent.messaging |
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 | Method and Description |
---|---|
DataReader |
DataReaderFactory.createReader(Torrent torrent,
DataDescriptor dataDescriptor) |
Constructor and Description |
---|
DataReaderChannel(DataDescriptor dataDescriptor,
long chunkSize) |
Modifier and Type | Method and Description |
---|---|
static FilePiecePriorityMapper |
FilePiecePriorityMapper.createPiecePriorityMapper(DataDescriptor dataDescriptor,
List<TorrentFile> files,
FilePrioritySelector selector)
Create a new File Pieces priority mapper from a priority updater.
|
static FilePiecePriorityMapper |
FilePiecePriorityMapper.createPiecePriorityMapper(DataDescriptor dataDescriptor,
List<TorrentFile> files,
FilePrioritySkipSelector selector)
Create a new File Pieces priority mapper from a choosing file selector
|
Modifier and Type | Method and Description |
---|---|
DataDescriptor |
TorrentDescriptor.getDataDescriptor() |
Constructor and Description |
---|
DefaultTorrentSessionState(Supplier<DataDescriptor> descriptor,
TorrentWorker worker,
PrioritizedPieceSelector pieceSelector) |
Constructor and Description |
---|
RequestProducer(DataDescriptor dataDescriptor,
int maxOutstandingRequests) |
Copyright © 2016–2021. All rights reserved.