Expand description
Generic protocol to receive specified structure messages.
Acts as a simple message queue, where we listen for the specified structure message, and when one is received, we send it to the provided smol channel. Afterwards, we wait for an action signal, specifying whether or not we should propagate the message to rest nodes or skip it.
Structs§
- Protocol
Generic - Defines generic messages protocol.
- Protocol
Generic Handler - Defines a handler for generic protocol messages, consisting of a message receiver, action signal senders mapped by each channel ID, and a stoppable task to run the handler in the background.
Enums§
- Protocol
Generic Action - Defines generic messages protocol action signal.