(DBUS/Python) async_callbacks vs. reply_/error_handler

Pavel Strashkin pavel.strashkin at gmail.com
Wed Feb 16 23:39:26 PST 2011


Client is always blocked if you don't use reply_handler/error_handler
to do a call.

2011/2/17 Jason Heeris <jason.heeris at gmail.com>:
> On 17 February 2011 15:33, Pavel Strashkin <pavel.strashkin at gmail.com> wrote:
>> There is the only one difference. You use reply_handler/error_handler
>> to implement async work on a client side and you use async_callbacks
>> to implement async work on a service side. You can't use
>> dbus.service.method (and async_callbacks) for the clients.
>
> I forgot to mention that I'm writing both, so it's not as though I
> need to work around someone else's service implementation.
>
> Does the client block for more time if the async_callbacks are
> implemented instead of the error/reply handlers? Or is it all sorted
> out in the same way?
>
> — Jason
>


More information about the dbus mailing list