Package software.amazon.awssdk.crt.mqtt5
Class PublishReturn
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt5.PublishReturn
-
public class PublishReturn extends Object
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 theget
functions. For example,getPublishPacket
will return the PublishPacket received from the server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishPacket
getPublishPacket()
Returns the PublishPacket returned from the server or Null if none was returned.
-
-
-
Method Detail
-
getPublishPacket
public PublishPacket getPublishPacket()
Returns the PublishPacket returned from the server or Null if none was returned.- Returns:
- The PublishPacket returned from the server.
-
-