Are there some APIs for getting all objects in specified folder?

Thiago Macieira thiago at
Mon Apr 7 02:31:14 PDT 2008

On Monday 07 April 2008 10:26:44 Huang Peng wrote:
> Hi DBUS developers,
> Are there some APIs for getting all objects in specified folder of
> DBUS's filesystem? If the answer is yes, could I get a notification when
> a new object is putted in this specified folder?
> For example: I want listen changes of folder "/org/freedesktop/IME/". If
> an object which path is "/org/freedesktop/IME/ObjectName" is created or
> removed, could I received a notification for the change?


First of all, there's no such thing as filesystem and folders. There are no 
files, so calling it a filesystem is actually wrong. We have objects 
organised hierarchically in a tree, so it would be more proper to call it an 
object tree.

And second, no, you can't get any notification. Object creation and 
destruction is entirely up to the application doing that, not to the D-Bus 
protocol or daemon.

If you need such a notification, please talk to the people specifying the 
interface in question (which technically has nothing to do with the object 
path). And request that they add a requirement that whenever the object is 
being created or destroyed, a signal should be sent to notify other 

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the dbus mailing list