AcknowledgedMessageReceived

data class AcknowledgedMessageReceived(val model: Model, val request: AcknowledgedMeshMessage, val source: Address, val destination: MeshAddress, val reply: suspend (MeshResponse?) -> Unit) : ModelEvent

Event used to notify when an acknowledged message has been received from the mesh network.

Constructors

Link copied to clipboard
constructor(model: Model, request: AcknowledgedMeshMessage, source: Address, destination: MeshAddress, reply: suspend (MeshResponse?) -> Unit)

Properties

Link copied to clipboard

Address to which the message was sent.

Link copied to clipboard

Model that received the message.

Link copied to clipboard
val reply: suspend (MeshResponse?) -> Unit

Lambda function to be invoked to respond to the received message.

Link copied to clipboard

Request that was sent.

Link copied to clipboard

Address of the Element from which the message was sent.