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

Huang Peng phuang at
Mon Apr 7 03:41:19 PDT 2008

Just went through the source code of dbus and found structures of object
tree and the vtable. I understood what is the path for. Thanks.

在 2008-04-07一的 11:31 +0200,Thiago Macieira写道:
> 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?
> Hello
> 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 
> listeners.

More information about the dbus mailing list