public interface MqttListener
| Modifier and Type | Method and Description |
|---|---|
void |
connectionEstablished()
Called when PAHO establishes a connection to a server
|
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 connectionEstablished()
void connectionLost(Throwable throwable)
throwable - the disconnection reason.Copyright © 2019. All rights reserved.