unreal.MQTTClientMessage

class unreal.MQTTClientMessage(time_stamp: DateTime = [], topic: str = '', payload: None = [], retain: bool = False, qo_s: MQTTQualityOfService = Ellipsis)

Bases: StructBase

MQTTClient Message

C++ Source:

  • Plugin: MQTT

  • Module: MQTTCore

  • File: MQTTClientMessage.h

Editor Properties: (see get_editor_property/set_editor_property)

  • payload (Array[uint8]): [Read-Write] Packet content.

  • qo_s (MQTTQualityOfService): [Read-Write] Quality of Service.

  • retain (bool): [Read-Write] Retain flag.

  • time_stamp (DateTime): [Read-Write] TimeStamp as UTC.

  • topic (str): [Read-Write] Packet topic.

property payload: None

[Read-Write] Packet content.

Type:

(Array[uint8])

property qo_s: MQTTQualityOfService

[Read-Write] Quality of Service.

Type:

(MQTTQualityOfService)

property retain: bool

[Read-Write] Retain flag.

Type:

(bool)

property time_stamp: DateTime

[Read-Write] TimeStamp as UTC.

Type:

(DateTime)

property topic: str

[Read-Write] Packet topic.

Type:

(str)