dbus_g_proxy_call or dbus_g_proxy_call_no_reply?

Havoc Pennington hp at redhat.com
Thu Dec 7 07:37:49 PST 2006



Frédéric DALLEAU wrote:
> Hi all,
> 
> I wrote a DBus Method.
> I passed the caller from dbus_g_proxy_call to dbus_g_proxy_call_no_reply.
> 
> What happen if I send the response even if the caller do not wait for 
> the answer.
> Can I safely remove the response creation from the method call.
> Are there any drawbacks?
> 

If the caller specifies the "no reply" flag, then you can optimize by 
not sending a reply. However, the optimization is not required; if you 
send the reply, the caller should ignore it.

Havoc



More information about the dbus mailing list