[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- From: saurabh singh <saurabh3460@xxxxxxxxx>
- Date: Sat, 28 Jul 2018 07:00:11 +0530
- Delivered-to: firstname.lastname@example.org
Sorry i am not able figure out please tell me,
What add_reader and add_writer does.
How to use client. socket with them and how to call appropriate callbacks.
I am new to asyncio and doing basic stuff so far .
On Sat, Jul 28, 2018, 3:55 AM Jos Vos <jos@xxxxxx
On Fri, Jul 27, 2018 at 09:26:55PM +0530, saurabh singh wrote:
> I want to use asyncio's loop instead of loop of paho for scaling.
> Is hbmqtt suitable.
I did not want to use hbmqtt, as I want to stay mainstream and not
using an alternative implementation.
You can use asyncio's loop, you have to to use add_reader() and
add_writer for the MQTT socket and in the callback call the
appropriate MQTT actions.
--Â Â Jos Vos <jos@xxxxxx>
--Â Â X/OS Experts in Open Systems BVÂ Â|Â ÂOffice: +31 20 6938364
--Â Â Amsterdam, The NetherlandsÂ Â Â Â |Â ÂMobile: +31 6 26216181
paho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit