effusion v0.2.0 Effusion.PWP.TCP.Connection View Source

Protocol handler for the Peer Wire Protocol.

This amounts to performing the handshake, and then forwarding any messages to the associated download.

Link to this section Summary

Functions

Break the connection.

Break the connection with the given reason.

Handle a Peer Wire Protocol message.

Link to this section Functions

Break the connection.

Break the connection with the given reason.

Link to this function

handle_btp(btp_message, state)

View Source

Handle a Peer Wire Protocol message.

Link to this function

handle_info(info, state)

View Source
Link to this function

terminate(reason, state)

View Source