Expand description

Data structures and implementations for sending and receiving messages from peers.

The public interface includes the structs PeerInterconnect, PeerInterconnectBuilder, NetworkMessageSender, and ShutdownSignaler.

Structs

A sender for outgoing messages that will be sent to peers.

PeerInterconnect will receive incoming messages from peers and dispatch them to the NetworkMessageType handlers. It will also receive messages from handlers that need to be sent to other peers.

A builder for creating a PeerInterconnect