I see that all subscribe overloads in the MqttClient class have void as return type. No way to get the IMqttToken.
I think you are speaking about the MqttAsyncClient ... got it ;)
From: james.sutton@xxxxxxxxxx
To: paho-dev@xxxxxxxxxxx
Date: Wed, 21 Sep 2016 07:32:51 +0000
Subject: Re: [paho-dev] Paho Java : get the granted QoS after subscribing
Hi Paolo,
Kind regards,
James Sutton Software Engineer - IoT Foundation - MQTT Open Source Projects Ops Team - Wimbledon Project |
|
| Hursley Park Hursley, SO212JN United Kingdom |
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
----- Original message -----
From: Paolo Patierno <ppatierno@xxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] Paho Java : get the granted QoS after subscribing
Date: Wed, Sep 21, 2016 8:15 AM
Hi all,
I'm using the Paho Java implementation but I can't find a way to know the granted QoS when I subscribe to a topic.
I'm searching for info in the API without success.
Thanks,
Paolo.
Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
_______________________________________________
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