Package | Description |
---|---|
bt.torrent.data | |
bt.torrent.messaging |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<BlockWrite> |
DataWorker.addBlock(TorrentId torrentId,
Peer peer,
int pieceIndex,
int offset,
BufferedData buffer)
Add a write block request.
|
CompletableFuture<BlockWrite> |
DefaultDataWorker.addBlock(TorrentId torrentId,
Peer peer,
int pieceIndex,
int offset,
BufferedData buffer) |
Modifier and Type | Method and Description |
---|---|
Map<Object,CompletableFuture<BlockWrite>> |
ConnectionState.getPendingWrites()
Get pending block writes, mapped by keys of corresponding requests.
|
Copyright © 2016–2021. All rights reserved.