Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Question on MqttClient's subscriptions

Hi Sopot,

as you have seen, there is no public API in the client to retrieve
that information.

So, you either need to maintain that list in your application, or you
could modify the paho client to expose the list.

Regards,
Nick


On 20 September 2012 20:23, Sopot Çela <sopotcela@xxxxxxxxx> wrote:
> Hi Paho devs,
>
> I have posted a question (the first ever) on the Paho forums
> http://www.eclipse.org/forums/index.php/t/379061/ Since the forum is there I
> would appreciate it if any of the competent members of the paho community
> would monitor it since it is a delicate time to not answer any questions.
>
> However I am pasting the question here in case you all disagree.
>
> I have a MqttClient. How can I have a list of the topics it is subscribed
> to? I see they are stored in a Hashtable but no public API to get them.
>
> Best,
> Sopot
>
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/paho-dev
>


Back to the top