Resume

@Serializable
@SerialName(value = "resume")
data class Resume(val tokenPeerId: String, val tokenRoomId: String, val issuedAt: Long) : AdmitMessage

Sent by a joiner to the host to resume a partitioned session.

The host validates tokenPeerId + tokenRoomId against its us.tractat.kuilt.session.partition.JoinerReconnectController. On success the host replies with ResumeAck; on failure it replies with Reject.

tokenPeerId — the joiner's us.tractat.kuilt.core.PeerId from the original admit. tokenRoomId — the room's stable identifier from the host's Welcome.roomId. issuedAt — epoch-millis when the token was issued (from the injected clock).

Constructors

Link copied to clipboard
constructor(tokenPeerId: String, tokenRoomId: String, issuedAt: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard