SingleOutboundMessage

data class SingleOutboundMessage<ID : Any, 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.

Constructors

Link copied to clipboard
constructor(default: Payload, overrides: Map<ID, Payload> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard