Monitoring lifetimes with Python bindings
John (J5) Palmieri
johnp at redhat.com
Fri Jul 8 05:08:20 EST 2005
On Thu, 2005-07-07 at 14:59 -0400, John (J5) Palmieri wrote:
> These assume that org.foo.Bar is already attached to the bus because
> there is no way to know when it appears on the bus. It would be nice to
> add a signal to the spec that broadcasts when names are added to the bus
> so we can listen for them and register when they do. The I could have
> API like bus.watch_for_connect("org.foo.Bar", on_connect).
Scratch this. I didn't get enough sleep ;-) NameOwnerChange does
propagate the common name as well as the unique name so I can have API
that listens when a name comes on the bus.
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus