Companion

object Companion

Properties

Link copied to clipboard

The session's own peers hold consensus — today's behaviour for every bootstrap path.

Functions

Link copied to clipboard
fun federatedCore(core: Set<NodeId>, attachment: (NodeId) -> NodeId?): ConsensusPlacement

The federated server-core placement: like serverCore — a fixed core holds every voter seat and session peers ride as learners — but each node's Raft transport is wrapped in a cross-server routing decorator so a leader on one server can reach a player behind a different server. This is the placement gameNodeRoomFederated uses, and the one a federated player passes to gameNodeRoom.

Link copied to clipboard

The player role of the federatedCore placement — the seating a federated player passes to gameNodeRoom.

Link copied to clipboard

Hand the session a node the caller already constructed.

Link copied to clipboard

All-servers-vote server-core placement: core holds every voter seat of every game.