about object introspection for dbus
Havoc Pennington
havoc.pennington at gmail.com
Thu May 21 06:13:45 PDT 2009
Hi,
On Thu, May 21, 2009 at 6:10 AM, Simon McVittie
<simon.mcvittie at collabora.co.uk> wrote:
> It is always incorrect (IMO) to not reply to a method call at all, unless
> DBUS_HEADER_FLAG_NO_REPLY_EXPECTED is set in the header. If you don't
> implement a particular method on a particular object at all, you should return
> a suitable D-Bus error message (all the high-level bindings will do this for
> you automatically, but libdbus won't necessarily). This only applies to
> messages of type DBUS_MESSAGE_TYPE_METHOD_CALL.
>
libdbus should return UNKNOWN_METHOD for a method call as long as all
handlers return NOT_YET_HANDLED
Havoc
More information about the dbus
mailing list