Package | Description |
---|---|
bt.dht | |
bt.net | |
bt.net.extended |
Modifier and Type | Method and Description |
---|---|
void |
DHTHandshakeHandler.processIncomingHandshake(PeerConnection connection,
Handshake peerHandshake) |
Modifier and Type | Class and Description |
---|---|
class |
SocketPeerConnection |
Modifier and Type | Method and Description |
---|---|
PeerConnection |
PeerConnectionPool.addConnectionIfAbsent(PeerConnection newConnection) |
PeerConnection |
IPeerConnectionPool.addConnectionIfAbsent(PeerConnection connection) |
PeerConnection |
ConnectionResult.getConnection() |
PeerConnection |
PeerConnectionPool.getConnection(ConnectionKey key) |
PeerConnection |
IPeerConnectionPool.getConnection(ConnectionKey key) |
PeerConnection |
PeerConnectionPool.getConnection(Peer peer,
TorrentId torrentId) |
PeerConnection |
IPeerConnectionPool.getConnection(Peer peer,
TorrentId torrentId) |
Modifier and Type | Method and Description |
---|---|
PeerConnection |
PeerConnectionPool.addConnectionIfAbsent(PeerConnection newConnection) |
PeerConnection |
IPeerConnectionPool.addConnectionIfAbsent(PeerConnection connection) |
boolean |
ConnectionHandler.handleConnection(PeerConnection connection)
Determines whether the connection can be established or should be immediately dropped.
|
void |
BitfieldConnectionHandler.processIncomingHandshake(PeerConnection connection,
Handshake peerHandshake) |
void |
HandshakeHandler.processIncomingHandshake(PeerConnection connection,
Handshake peerHandshake)
Process an incoming handshake, received from a remote peer.
|
static ConnectionResult |
ConnectionResult.success(PeerConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
PeerConnectionPool.visitConnections(TorrentId torrentId,
Consumer<PeerConnection> visitor) |
void |
IPeerConnectionPool.visitConnections(TorrentId torrentId,
Consumer<PeerConnection> visitor)
Visit connections for a given torrent ID.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedProtocolHandshakeHandler.processIncomingHandshake(PeerConnection connection,
Handshake peerHandshake) |
Copyright © 2016–2021. All rights reserved.