![]() |
dbus-python: How to not to ask for a reply?
How to not to ask for a reply? Thanks.
Code:
import dbus Code:
Traceback (most recent call last): |
Re: dbus-python: How to not to ask for a reply?
Apparently you're supposed to set error_handler and reply_handler to None. When I did that, though, it didn't send the message.
I worked around it like this: Code:
import dbus |
Re: dbus-python: How to not to ask for a reply?
Quote:
|
Re: dbus-python: How to not to ask for a reply?
In C you would create a "method call" message, append the args and then call dbus_message_set_no_reply(message, TRUE) before sending it.
It looks like Python has a set_no_reply(message, bool) method that might do the same. http://dbus.freedesktop.org/doc/dbus...age-class.html |
All times are GMT. The time now is 04:25. |
vBulletin® Version 3.8.8