Services calling back to clients
hp at redhat.com
Wed Jun 22 05:29:55 PDT 2005
On Wed, 2005-06-22 at 07:47 +0100, Ross Burton wrote:
> When a server's method is bound, it has no way of accessing the
> DBusMessage which caused it to be executed. Is this correct?
I think so yes, but it's important which part of the message you were
after (the sender)
You could always pass in the sender explicitly in the method signature,
as a worst-case workaround hack.
The bindings could also add a context object as first arg to every
method, and get_sender() could be a function on the context object.
More information about the dbus