From freedesktop-dbus Mon Nov 05 23:05:07 2007 From: Havoc Pennington Date: Mon, 05 Nov 2007 23:05:07 +0000 To: freedesktop-dbus Subject: Re: Annotation type for an asyncronous method using dbus qt3 binding Message-Id: <472FA1A3.5080803 () redhat ! com> X-MARC-Message: https://marc.info/?l=freedesktop-dbus&m=119430396931645 Hi, Thiago Macieira wrote: > I think you're looking for the annotation: > > org.freedesktop.DBus.Method.NoReply > > That is also what Qt 4 uses. It means the method will not post a reply -- > which is equivalent to DCOP's return type "ASYNC". > More precisely, the spec for the "no reply" flag in a DBusMessage is that if the flag is set, the implementation of the method need not (but may) send a reply, because the caller of the method expects to ignore the reply. i.e. it's a hint from the caller to the method implementation that the caller doesn't care about the reply. The NO_REPLY flag is a property of the specific invocation (or of code generated by a binding), not a property of the interface per se. That is, NO_REPLY is an aspect of how a method is invoked, not an aspect of the method. (Hopefully this is what that annotation does in Qt also, otherwise I don't think stuff marked with it will be interoperable) Havoc _______________________________________________ dbus mailing list dbus@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dbus