public class AwsIotMqttMessageListener extends Object implements org.eclipse.paho.client.mqttv3.IMqttActionListener
Constructor and Description |
---|
AwsIotMqttMessageListener(AbstractAwsIotClient client) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(org.eclipse.paho.client.mqttv3.IMqttToken token,
Throwable cause) |
void |
onSuccess(org.eclipse.paho.client.mqttv3.IMqttToken token) |
public AwsIotMqttMessageListener(AbstractAwsIotClient client)
public void onSuccess(org.eclipse.paho.client.mqttv3.IMqttToken token)
onSuccess
in interface org.eclipse.paho.client.mqttv3.IMqttActionListener
public void onFailure(org.eclipse.paho.client.mqttv3.IMqttToken token, Throwable cause)
onFailure
in interface org.eclipse.paho.client.mqttv3.IMqttActionListener
Copyright © 2020. All rights reserved.