Partitioned

data class Partitioned(val peerId: PeerId, val at: Instant, val reason: ReconnectReason, val localFabric: FabricAvailability) : MembershipEvent

A peer's transport link dropped; a reconnect window may be open.

Dual-role. Emitted on the host's events when an admitted joiner goes unresponsive (driven by us.tractat.kuilt.session.partition.PartitionEvent.PeerUnresponsive, with the member's Liveness transitioning to Liveness.Partitioned); and on a joiner's events when its host link tears and the joiner begins an in-window resume attempt (#1037). Either way peerId identifies the peer whose link dropped (the joiner, or the host, respectively).

reason classifies why the link is down (silent timeout / backpressure / transport close), so a consumer can tailor its "reconnecting…" surface — see ReconnectReason.

Constructors

Link copied to clipboard
constructor(peerId: PeerId, at: Instant, reason: ReconnectReason, localFabric: FabricAvailability)

Properties

Link copied to clipboard
val at: Instant
Link copied to clipboard

This peer's own Room.localFabric at the instant this event was emitted.

Link copied to clipboard
Link copied to clipboard