Package | Description |
---|---|
bt.data | |
bt.processor.torrent | |
bt.torrent.messaging | |
bt.torrent.selector |
Modifier and Type | Method and Description |
---|---|
LocalBitfield |
DataDescriptor.getBitfield() |
Modifier and Type | Method and Description |
---|---|
boolean |
ChunkVerifier.verify(List<ChunkDescriptor> chunks,
LocalBitfield bitfield)
Conducts verification of the provided list of chunks and updates bitfield with the results.
|
boolean |
DefaultChunkVerifier.verify(List<ChunkDescriptor> chunks,
LocalBitfield bitfield) |
Modifier and Type | Method and Description |
---|---|
LocalBitfield |
TorrentContext.getBitfield() |
Modifier and Type | Method and Description |
---|---|
void |
TorrentContext.setBitfield(LocalBitfield bitfield) |
Constructor and Description |
---|
Assignments(LocalBitfield bitfield,
ValidatingSelector selector,
BitfieldBasedStatistics pieceStatistics,
Config config) |
Constructor and Description |
---|
TorrentWorker(TorrentId torrentId,
IMessageDispatcher dispatcher,
IConnectionSource connectionSource,
IPeerWorkerFactory peerWorkerFactory,
Supplier<LocalBitfield> bitfieldSupplier,
Supplier<Assignments> assignmentsSupplier,
Supplier<BitfieldBasedStatistics> statisticsSupplier,
EventSource eventSource,
Config config) |
Constructor and Description |
---|
ValidatingSelector(LocalBitfield localBitfield,
BitSet piecesToSkip,
PieceSelector delegate)
Creates a filtering selector.
|
Copyright © 2016–2021. All rights reserved.