Raft::Transport
Abstract base class for Raft node-to-node communication.
Implementations deliver RPC messages between cluster nodes. The library
ships with Transport::InMemory for testing and Transport::TCP for
production use.
Instance methods
Sends an RPC message to the peer identified by peer_id.
Delivery is best-effort. If the peer is unreachable the message is silently dropped — Raft's protocol-level retries handle the loss.
Starts listening for incoming messages.
Received messages are wrapped in RPC::Envelope (tagged with sender ID)
and pushed into the provided inbox channel.