MQTTMessageEntry

data class MQTTMessageEntry(val msg: MQTTMessage, val topic: String, val incoming: Boolean = false, val timeStamp: Long = System.currentTimeMillis())

MQTT message entry for the message log. Basically a bridge object between MQTTMessages and message log.

Constructors

Link copied to clipboard
constructor(msg: MQTTMessage, topic: String, incoming: Boolean = false, timeStamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard
val incoming: Boolean = false

Direction of the message, true = received by us

Link copied to clipboard

MQTT message content

Link copied to clipboard

Message's timestamp in milliseconds.

Link copied to clipboard

MQTT topic