public class MqttMessage extends Object
Represents an MQTT Message consisting of a topic string (e.g. “/users/ptgoetz/office/thermostat”) and a byte array message/payload.
Constructor and Description |
---|
MqttMessage(String topic,
byte[] payload) |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.