struct

Raft::RPC::Envelope

Inherits Struct < Value < Object

Wraps an RPC message with the sender's node ID.

Created by the transport layer so the receiving node can attribute responses to specific peers (e.g., knowing which peer granted a vote).

Constructors

new(from : String, message : Message)
Source

Instance methods

from

The node ID of the sender.

Source
message

The RPC message.

Source