org.freedesktop.DBus.GLib.Async GLib specific ?

Havoc Pennington hp at redhat.com
Fri Sep 8 06:38:10 PDT 2006


frederic heem wrote:
> There is not yet an annotation for asynchronous call for qt binding and I have 
> no other solution that to modify dbusxml2cpp. We have to agree on an unique 
> name for asynchronous call annotation. Also, the xml interface file has to be 
> the same for client/server glib/qt. It doesn't make sense to use the 
> annotation org.freedesktop.DBus.GLib.Async or org.freedesktop.DBus.Qt.Async 
> or org.freedesktop.DBus.<PutYourFavorityBinding>.Async.  The asynchronous 
> property does *not* depend on the binding type, no its name shall not contain 
> the name of the binding.

Thiago's points stand about Qt binding priorities, but I want to clarify 
something more general. Some of these annotations have to do with _how 
client code is generated_ but have nothing to do with _the interface_.

i.e. _any_ method on _any_ interface can be called async or not async.
The annotation just has to do with how _one app_ wants to call the 
method in a particular context.

Havoc



More information about the dbus mailing list