Monitoring lifetimes with Python bindings

Havoc Pennington hp at redhat.com
Thu Jul 7 07:07:37 EST 2005


On Wed, 2005-07-06 at 16:45 -0400, John (J5) Palmieri wrote:
> @dbus.explicitly_pass_message is mainly for debugging.  Messages should
> not be exposed in the python bindings.  The best thing to do is for your
> client to send its unique name to the server when it connects to the bus
> and register the NameOwnerChanged signal with sender equal to the name
> you received.  You can also use the GetNameOwner call to get the unique
> name of an already running process.

I think exposing messages would be wrong but exposing the caller of a
method may not be if we could figure out a good approach.

Havoc




More information about the dbus mailing list