Relay

A host-forwarded frame between two spokes of a star — RelayEnvelope (#1994). 0x72, ASCII 'r'.

The one family for which classifies and matches genuinely coincide: RelayEnvelope.isRelayFrame is defined as Relay.matches, so this entry inherits the default rather than delegating back into a definition that would only point here again.

Release note: an application payload sent via Room.broadcast whose first byte is 0x72 was previously legal and is now swallowed as a relay frame.

Properties

Link copied to clipboard
val byte: Byte

the first byte of every frame in this family.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
open fun classifies(bytes: ByteArray): Boolean

Whether bytes is a frame of this family, by the family's own real classifier.

Link copied to clipboard

Whether bytes claims this family's prefix byte — a single-byte test. Empty is never.