Class MqttPublishResult


  • public final class MqttPublishResult
    extends OperationResult
    Result of a high-level publish operation.
    • Method Detail

      • getTopic

        public String getTopic()
        Returns the topic used by the publish.
        Returns:
        MQTT topic name
      • getQualityOfService

        public PlccomMqttQualityOfService getQualityOfService()
        Returns the QoS used by the publish.
        Returns:
        publish QoS
      • isRetain

        public boolean isRetain()
        Returns whether the Retain flag was set.
        Returns:
        true when the publish used the Retain flag