Package-level declarations

Types

Link copied to clipboard
data class InboundMessage(val senderId: ID, val messages: Map<Path, *>) : Message

messages received by a node from senderId.

Link copied to clipboard
interface Message

Types of messages.

Link copied to clipboard
data class OutboundMessage(val localId: ID, val messages: Map<Path, SingleOutboundMessage<*>>) : Message

An OutboundMessage are messages that a device localId sends to all other neighbours.

Link copied to clipboard
data class SingleOutboundMessage<Payload>(val default: Payload, val overrides: Map<ID, Payload> = emptyMap())

A SingleOutboundMessage contains the values associated to a Path in the messages of OutboundMessage. Has a default value that is sent regardless the awareness the device's neighbours, overrides specifies the payload depending on the neighbours values.