Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] About synchronous use of MqttAndroidClient

Hi Manuel,

I've not been able to look at the Android client yet.  I should be getting some more help soon which will enable us to answer questions such as yours.

Ian

On 05/12/2015 02:16 PM, Manuel Domínguez Dorado wrote:
Hi all,

I've benn trying to use MqttAndroidClient in a synchronous way by controlling the IMqttToken that its methods return. But each time I use:

IMqttToken.waitForCompletion(long timeout) 

the timeout expires and a MqttException is thrown. However, most of the times the operations have been done fine. Does anyone have the same problem? Is the MqttAndroidClient supposed to work as the traditional MqttAsyncClient in relation to IMqttToken handling?

Regards.
--
---
Manuel Domínguez Dorado
ingeniero ARROBA ManoloDominguez PUNTO com
http://www.ManoloDominguez.com


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top