Errors and the introspection format
Matthew Johnson
dbus at matthew.ath.cx
Mon Feb 20 16:01:08 PST 2006
On Mon, 20 Feb 2006, Thiago Macieira wrote:
> The way I'm doing it (and, AFAIU, the other bindings too) is:
I'm doing:
>
> 1) if the user declares his method to be "async", then add the annotation
>
if the user adds the annotation, propagate it to the introspection
> 2) when calling a method that was introspected and we found the
> annotation, set the noreply flag in the method-call message, send it and
> don't bother with replies. Also, return success to the user.
>
when calling a method which was generated or written with the
annotation, don't bother waiting for or looking for the reply, just
return.
> 3) when receiving a call, send a reply regardless of whether this
> annotation is set on a particular method or not, except if the incoming
> message has the no-reply flag set. If it does, don't bother sending a
> reply, again regardless of the annotation.
Um, can you set the no reply flag in the actual method call? how?
Matt
--
Matthew Johnson
http://www.matthew.ath.cx/
More information about the dbus
mailing list