Interface MqttMessageSubscriber


@NonNullByDefault public interface MqttMessageSubscriber
Implement this interface and register on the to get notified of incoming Mqtt messages on the given topic.
Author:
David Graeff - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processMessage(String topic, byte[] payload)
    Process a received MQTT message.
  • Method Details

    • processMessage

      void processMessage(String topic, byte[] payload)
      Process a received MQTT message.
      Parameters:
      topic - The mqtt topic on which the message was received.
      payload - content of the message.