Package software.amazon.awssdk.crt.mqtt5
Class PublishReturn
java.lang.Object
software.amazon.awssdk.crt.mqtt5.PublishReturn
The data returned when a publish is made to a topic the MQTT5 client is subscribed to.
The data contained within can be gotten using the
get functions.
For example, getPublishPacket will return the PublishPacket received from the server.-
Method Summary
Modifier and TypeMethodDescriptionReturns the PublishPacket returned from the server or Null if none was returned.
-
Method Details
-
getPublishPacket
Returns the PublishPacket returned from the server or Null if none was returned.- Returns:
- The PublishPacket returned from the server.
-