[][src]Module splinter::peer::interconnect

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

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

Structs

NetworkMessageSender

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

PeerInterconnect

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.

PeerInterconnectBuilder

A builder for creating a PeerInterconnect

ShutdownHandle

Handle for shutting down the PeerInterconnect. Deprecated, use ShutdownSignaler instead.

ShutdownSignaler

Handle for shutting down the PeerInterconnect