Class PublishReturn


  • public class PublishReturn
    extends java.lang.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 the get 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.