mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
d87cf6c017
This patch adds methods for sending DBus messages to the class RawDBusConnection. There are 3 types of interfaces. - Send Sends a message over DBus. No error checking or handling of replies is performed. These methods do not block the sending thread. - SendWithReply Sends a message over DBus and runs a call-back function for the reply. This should be the default case for most scenarios. These methods do not block the sending thread. - SendWithError Sends a message over DBus and waits for the reply or an error. This interface has only been added for some existing code that can safely block the sending thread. Don't use it in new code. These 3 types of interfaces represent what is currently used of the existing send functions in DBusUtils. When all users have been converted to the new methods, the interfaces in DBusUtils can be removed. |
||
---|---|---|
.. | ||
DBusThread.cpp | ||
DBusThread.h | ||
DBusUtils.cpp | ||
DBusUtils.h | ||
Makefile.in | ||
moz.build | ||
RawDBusConnection.cpp | ||
RawDBusConnection.h |