Package | Description |
---|---|
bt.net |
Modifier and Type | Method and Description |
---|---|
ConnectionResult |
PeerConnectionFactory.createIncomingConnection(Peer peer,
SocketChannel channel) |
ConnectionResult |
IPeerConnectionFactory.createIncomingConnection(Peer peer,
SocketChannel channel) |
ConnectionResult |
PeerConnectionFactory.createOutgoingConnection(Peer peer,
TorrentId torrentId) |
ConnectionResult |
IPeerConnectionFactory.createOutgoingConnection(Peer peer,
TorrentId torrentId) |
ConnectionResult |
ConnectionRoutine.establish()
Try to establish the connection.
|
static ConnectionResult |
ConnectionResult.failure(String message) |
static ConnectionResult |
ConnectionResult.failure(String message,
Throwable error) |
ConnectionResult |
ConnectionSource.getConnection(Peer peer,
TorrentId torrentId) |
ConnectionResult |
IConnectionSource.getConnection(Peer peer,
TorrentId torrentId)
Deprecated.
This is no longer used
|
static ConnectionResult |
ConnectionResult.success(PeerConnection connection) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ConnectionResult> |
ConnectionSource.getConnectionAsync(Peer peer,
TorrentId torrentId) |
CompletableFuture<ConnectionResult> |
IConnectionSource.getConnectionAsync(Peer peer,
TorrentId torrentId)
Get connection for a given peer and torrent ID asynchronously.
|
Copyright © 2016–2021. All rights reserved.