Signal filtering

Philip Van Hoof spam at pvanhoof.be
Mon Aug 29 11:52:13 PDT 2005


On Mon, 2005-08-29 at 13:36 -0400, John (J5) Palmieri wrote:
> With the latest releases 0.36.x you can add arg keys.  So arg0, arg1,
> arg2 ... argn.  They will match on arguments sent by the signal or
> method.

I think this is the part that I'm interested in. Where can I find more
information about this specific (new) feature?

> > And when making a specification (like dbus-specification.html) what
> > would be the preferred notation for this feature?
> > 
> > Like:
> > 
> > org.freedesktop.DBus.NameOwnerChanged
> > This is a signal: 
> >             NameOwnerChanged (STRING name, STRING old_owner, STRING new_owner)
> > 

> Filters shouldn't be noted in a specification.  They are optimizations
> so that every program is not spammed by every signal that goes over the
> bus.  In fact if you use the bindings filters are hidden from the user.

And the arguments (the new feature of 0.36.x)?


Thanks a lot for the answer

-- 
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be



More information about the dbus mailing list