Package | Description |
---|---|
bt.processor | |
bt.processor.torrent | |
bt.runtime | |
bt.torrent |
Modifier and Type | Method and Description |
---|---|
Optional<TorrentSessionState> |
ProcessingContext.getState() |
Modifier and Type | Method and Description |
---|---|
Optional<TorrentSessionState> |
TorrentContext.getState() |
Modifier and Type | Method and Description |
---|---|
void |
TorrentContext.setState(TorrentSessionState state) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<?> |
BtClient.startAsync(Consumer<TorrentSessionState> listener,
long period)
Start torrent processing asynchronously in a separate thread
and schedule periodic callback invocations.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTorrentSessionState |
Modifier and Type | Method and Description |
---|---|
Optional<TorrentSessionState> |
TorrentDescriptor.getSessionState()
Get the session state of this torrent.
|
Modifier and Type | Method and Description |
---|---|
void |
AdhocTorrentRegistry.registerSessionState(TorrentId torrentId,
TorrentSessionState state) |
void |
TorrentRegistry.registerSessionState(TorrentId torrentId,
TorrentSessionState state)
Register a session state for the specified torrent
|
Constructor and Description |
---|
TrackerAnnouncer(ITrackerService trackerService,
Torrent torrent,
AnnounceKey announceKey,
TorrentSessionState sessionState) |
Copyright © 2016–2021. All rights reserved.