[patch] gobject sender and pid

Robert McQueen robert.mcqueen at collabora.co.uk
Mon Mar 13 09:13:58 PST 2006

Ross Burton wrote:
> If you server-side methods are async, then you can call:
> gchar* dbus_g_method_get_sender (DBusGMethodInvocation *context);

Note also that it's perfectly acceptable to mark your method as async
and make a call to dbus_g_method_return or error from within the
function (ie behaving synchronously). I far prefer this to the idea of
adding a magic racy qdata value!

> Ross


More information about the dbus mailing list