python - using a signal not in introspection

Havoc Pennington hp at redhat.com
Thu Apr 26 07:10:35 PDT 2007



Matthew Johnson wrote:
> On Wed Apr 25 19:58, Havoc Pennington wrote:
>  
>> Yes, if you don't care which owner of the bus name the signal is from 
>> (as you often don't) then you can just use the well-known name in the 
>> match rule and your rule will keep working as the owner changes.
> 
> Are you sure? I didn't think any message you sent was sent from a well
> known name, and hence couldn't be matched on. What if you have multiple
> well known names? How does this work?
> 

I'm sure this is intended to work, I suppose it might not, but I thought 
it did.

The bus knows everything that a given connection owns; the matching is 
on that, not on what's literally in the message. Security policy 
matching is the same way.

Havoc


More information about the dbus mailing list