public interface IConnectionSource
Modifier and Type | Method and Description |
---|---|
ConnectionResult |
getConnection(Peer peer,
TorrentId torrentId)
Deprecated.
This is no longer used
|
CompletableFuture<ConnectionResult> |
getConnectionAsync(Peer peer,
TorrentId torrentId)
Get connection for a given peer and torrent ID asynchronously.
|
@Deprecated ConnectionResult getConnection(Peer peer, TorrentId torrentId)
ConnectionResult
CompletableFuture<ConnectionResult> getConnectionAsync(Peer peer, TorrentId torrentId)
ConnectionResult
Copyright © 2016–2021. All rights reserved.