effusion v0.2.0 Effusion.PWP.ConnectionRegistry View Source
A registry of connected peers and the processes handling them.
Link to this section Summary
Functions
Get all connected processes for the given torrent.
Broadcast a Peer Wire Protocol message to all connected peers.
Send a Peer Wire Protocol message to the given peer.
Check if a peer is connected.
Break all connections for the given torrent.
Get the process ID of the connection with the given peer.
Register the current process as a connection process with the given peer.
Link to this section Functions
Get all connected processes for the given torrent.
btp_broadcast(info_hash, message, peer_id_selector \\ fn _ -> true end)
View SourceBroadcast a Peer Wire Protocol message to all connected peers.
Send a Peer Wire Protocol message to the given peer.
Check if a peer is connected.
Break all connections for the given torrent.
Get the process ID of the connection with the given peer.
Register the current process as a connection process with the given peer.