Using different binding on client/server

Colin Walters walters at verbum.org
Thu Jul 21 02:13:57 EST 2005


On Wed, 2005-07-20 at 17:59 +0200, P. Durante wrote:
> I just started hacking with dbus, I wonder if it's a problem having
> the server written using the GLib bindings (or no bindings at all) and
> the client using a "different flavour" of dbus bindings, like python
> (who use glib anyway) or Qt or whatever..
> I think there shouldn't be any problem, but wanted to wipe any doubt
> away before starting to code :-)

Conceptually not, but some combinations can be weird; e.g. Python
services export all arguments as variants, which means from GLib you
need to package every argument up in a GValue for instance.

Python talking to a GLib service should be pretty straightforward.  I
don't know if the Python bindings parse available introspection data
yet, but if they did you wouldn't even have to use stuff like dbus.Uint.

-------------- 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/20050720/d6a2dd24/attachment.pgp


More information about the dbus mailing list