public interface MqttListener
| Modifier and Type | Method and Description |
|---|---|
void |
connectionLost(Throwable throwable)
Called by PAHO when the connection is lost
|
void |
messageReceived(MqttMessage message)
Called when the message gets received by PAHO
|
void messageReceived(MqttMessage message)
message - the received Mqtt messagevoid connectionLost(Throwable throwable)
throwable - the disconnection reason.Copyright © 2021. All rights reserved.