RaftEnvelope

data class RaftEnvelope(val from: NodeId, val bytes: ByteArray)

A raw message from another cluster member, as received by the transport.

Parameters

from

The sender's NodeId.

bytes

The serialised Raft RPC payload. Opaque to callers of RaftTransport; the engine deserialises it internally.

Constructors

Link copied to clipboard
constructor(from: NodeId, bytes: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard