C convenience lib (was Re: Is dbus_pending_call_set_notify() thread safe?)
Thiago Macieira
thiago at kde.org
Thu Aug 2 18:24:17 PDT 2007
Havoc Pennington wrote:
>7)
>
>This whole conversation may be relevant to people who are wanting to
>have the binding own the message queue and the marshaling.
>
>i.e. there was this discussion at GUADEC (see my notes from there) about
>offering an API that just created the socket and did the auth protocol,
>then returned a file descriptor.
>
>Then allow bindings to parse and build messages, avoiding the
>queue/object-tree in DBusConnection and avoiding the DBusMessage object.
You've just described how QtDBus uses libdbus, except we do use
DBusMessage to do the marshalling and demarshalling.
If the queue, the object tree and the multiple filters were torn from
DBusConnection, we wouldn't notice at all.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070802/ed0fb514/attachment.pgp
More information about the dbus
mailing list