Interface Mqtt5PublishResult
- All Known Subinterfaces:
Mqtt5PublishResult.Mqtt5Qos1Result,Mqtt5PublishResult.Mqtt5Qos2CompleteResult,Mqtt5PublishResult.Mqtt5Qos2Result
Result for an
MQTT 5 Publish message sent by the client.
The result is provided if a Publish message is successfully delivered (sent or acknowledged respectively to its
QoS level).
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceResult for aMQTT 5 Publish messagewithQoS level 1sent by the client.static interfaceResult for aMQTT 5 Publish messagewithQoS level 2sent by the client.static interfaceResult for aMQTT 5 Publish messagewithQoS level 2sent by the client. -
Method Summary
-
Method Details
-
getPublish
- Returns:
- the Publish message this result is for.
-
getError
- Returns:
- the optional error that is present if the Publish message was not successfully delivered.
-