com.supermap.messagequeue

Class MQTTReturnMessage



  • public class MQTTReturnMessage
    extends InternalHandle
    MQTT return message class.

    It is used to receive messages, so you can read topics and contents.

    • Constructor Summary

      Constructors 
      Constructor and Description
      MQTTReturnMessage()
      The constructor of MQTTReturnMessage.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMessage()
      Gets message contents.
      java.lang.String getTopic()
      Gets the topic.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MQTTReturnMessage

        public MQTTReturnMessage()
        The constructor of MQTTReturnMessage.
    • Method Detail

      • getTopic

        public java.lang.String getTopic()
        Gets the topic.
        Returns:
        Topic name
      • getMessage

        public java.lang.String getMessage()
        Gets message contents.
        Returns:
        Message string