effusion v0.2.0 Effusion.PWP.ProtocolHandler View Source
Handles Peer Wire Protocol messages.
Link to this section Summary
Functions
Connect to the remote address, expecting the given peer ID.
Break the connection with the given peer.
Disconnect from all peers.
Get the handshake tuple for this connection.
Handle a successful connection.
Handle a peer disconnection.
Handle a Peer Wire Protocol (PWP) message sent by a remote peer.
Validate and handle the given handshake tuple.
Validate and handle the given handshake tuple, expecting a given info hash and peer ID.
Link to this section Functions
Connect to the remote address, expecting the given peer ID.
Break the connection with the given peer.
Disconnect from all peers.
Get the handshake tuple for this connection.
Handle a successful connection.
Handle a peer disconnection.
Handle a Peer Wire Protocol (PWP) message sent by a remote peer.
Validate and handle the given handshake tuple.
Validate and handle the given handshake tuple, expecting a given info hash and peer ID.