new bus with python dbus

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Feb 26 01:40:55 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 26 Feb 2008 at 09:30:16 +0100, thomas wrote:
> I'm new at d-bus and I like to connect my own new bus to the dbus 
> system. I program with python dbus but the API doesn't show how to 
> connect a new bus. there are only the possibility to use the system, 
> session or so called "starter" bus. But for my Project I need a new bus 
> with special features. Is there a way to create this with Python?

You want a superclass of dbus.Bus. Use dbus.bus.BusConnection (if your
new bus is provided by dbus-daemon or a compatible implementation of
org.freedesktop.DBus) or dbus.connection.Connection (if your new "bus"
is actually just a peer-to-peer connection).

    Simon
-----BEGIN PGP SIGNATURE-----

iD8DBQFHw96nWSc8zVUw7HYRAlk3AKCtJ0/UD04Pl0n+iUT72lqWwlzLhQCgvPP3
QcyC/mSMuBdoW4IggGX21cw=
=Tzza
-----END PGP SIGNATURE-----


More information about the dbus mailing list