public interface MqttMessageCallback
MqttMessageCallback interface provides connection callback
 and enumerates the message types.| Modifier and Type | Field and Description | 
|---|---|
static int | 
MQTT_SUBSCRIBE_MSG
Message was received from the broker. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onMessageEvent(int reason,
              byte[] topic,
              byte[] payload,
              int qos)
Called when a message event occurs. 
 | 
static final int MQTT_SUBSCRIBE_MSG
void onMessageEvent(int reason,
                    byte[] topic,
                    byte[] payload,
                    int qos)
reason - the event reason.topic - Subscription topic.payload - Message payload.qos - QoS to be used.MqttClient.subscribe(String, int)