From 610549a679ac2efd7b4e0f15eed62a282240c57c Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Sun, 21 Nov 2010 16:51:51 +0000 Subject: Define arg0namespace in the specification --- doc/dbus-specification.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index dd4aa6a0..eafd8154 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -3628,6 +3628,38 @@ notified in both cases. + + arg0namespace + Like a bus name or interface name, except that the string may contain only + one element, and may end with a trailing period + + Match messages whose first argument is of type STRING, and is a bus name + or interface name within the specified namespace. This is primarily intended + for watching name owner changes for a group of related bus names, rather than + for a single name or all name changes. + + If the value has a trailing period, then only bus names or interface names + within that namespace are matched. If it has no trailing period, an exact + match is also allowed. + + For example, the match rule + member='NameOwnerChanged',arg0namespace='com.example.backend' + matches name owner changes for bus names such as + com.example.backend.foo, + com.example.backend.foo.bar, and + com.example.backend itself. + + On the other hand, the match rule + member='NameOwnerChanged',arg0namespace='com.example.backend.' + (with a trailing period in the namespace) matches owner changes for + com.example.backend.foo and + com.example.backend.foo.bar, but not for + com.example.backend. + + + See also . + + -- cgit v1.2.3