Details vs Match On Args

Havoc Pennington hp at
Wed Jul 13 07:58:01 EST 2005

On Thu, 2005-07-07 at 15:23 -0400, John (J5) Palmieri wrote:
> I've been thinking about it a bit and I think we need to do a match on
> arguments instead of details.
> So it has been discussed adding filtering of messages based on
> arguments.  We were either going to go with this or the details patch
> sent awhile ago to deal with signals waking up threads because matching
> was not granular enough [1].
> In my opinion I think we need to match on args to be more flexible and
> also add wildcard matching.  The reason I want to do this is so a
> program can watch for specific names coming on the bus without getting
> deluged by all the names that attach to the bus.  The wildcard matching
> would be for listening for specific namespaces such as listening for all
> names that start with org.freedesktop.* (more compelling would be
> org.gnome.Service.*).

I think the wildcard stuff is overkill (and potentially has weird side
effects). Basically the namespace doesn't imply anything necessarily
about the stuff in the namespace.


More information about the dbus mailing list