- class QMqttMessageStatusProperties¶
The
QMqttMessageStatusProperties
class represents additional information provided by the server during message delivery. More…Synopsis¶
Methods¶
def
__init__()
def
reason()
def
reasonCode()
def
userProperties()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
Depending on the QoS level of a message being sent by
publish()
, a server reports the state of delivery. Additionally to theMessageStatus
, complementary information might be included by the server. These are exposed to users viaQMqttMessageStatusProperties
.Note
Message status properties are part of the MQTT 5.0 specification and cannot be used when connecting with a lower protocol level. See
ProtocolVersion
for more information.- __init__()¶
- __init__(arg__1)
- Parameters:
arg__1 –
QMqttMessageStatusProperties
- reason()¶
- Return type:
str
Returns the reason string of a failed message delivery.
- reasonCode()¶
- Return type:
Returns the reason code of a failed message delivery.
- userProperties()¶
- Return type:
QMqttUserProperties
Returns properties specified in conjunction with a message.