| Modifier and Type | Method and Description |
|---|---|
void |
MessageUninterested.process(Peer peer) |
void |
MessageUnchoke.process(Peer peer) |
void |
MessageRequest.process(Peer peer) |
void |
MessageKeepAlive.process(Peer peer) |
void |
MessageInterested.process(Peer peer) |
void |
MessageHave.process(Peer peer) |
void |
MessageChoke.process(Peer peer) |
void |
MessageCancel.process(Peer peer) |
void |
MessageBlock.process(Peer peer) |
void |
MessageBitfield.process(Peer peer) |
void |
IMessage.process(Peer peer)
Process the message
|
| Modifier and Type | Method and Description |
|---|---|
void |
IModule.onPostHandshake(Peer peer)
Called when the peer has successfully passed the handshake with us.
|
| Modifier and Type | Method and Description |
|---|---|
List<Peer> |
Torrent.getPeers()
Creates a copy of the list of connected peers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Torrent.addPeer(Peer peer)
Adds a peer to the torrent if not already registered to the torrent.
|
void |
Torrent.removePeer(Peer peer)
Removes a peer from the torrent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PermissiveUploadStrategy.updateChoking(Peer peer) |
void |
PermissiveStrategy.updateChoking(Peer peer)
Checks and possibly updates the choke states of the Peer.
|
void |
IChokingStrategy.updateChoking(Peer peer)
Checks and possibly updates the choke states of the Peer.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Piece> |
IPieceSelector.getPieceForPeer(Peer p)
Gets the next piece to download
|
Optional<Piece> |
FullPieceSelect.getPieceForPeer(Peer peer) |
| Modifier and Type | Method and Description |
|---|---|
Peer |
Peer.Builder.build() |
Copyright © 2016. All rights reserved.