Back to project page Android-API.
The source code is released under:
Apache License
If you think the Android project Android-API listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.clearblade.platform.api.internal; /* www . j a v a 2s . co m*/ import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; import org.eclipse.paho.client.mqttv3.MqttCallback; import org.eclipse.paho.client.mqttv3.MqttMessage; public class MessageMqttCallback implements MqttCallback { @Override public void connectionLost(Throwable arg0) { System.out.println("received a connectionLost"); } @Override public void deliveryComplete(IMqttDeliveryToken arg0) { System.out.println("received a deliveryComplete"); } @Override public void messageArrived(String arg0, MqttMessage arg1) throws Exception { System.out.println("received a messageArrived"); } }