I have read lot of D-Bus documentation and understood various concepts such as:
1. Object
2. Interface
3. Method
4. Signal
5. Bus Connection
6. System vs Session Daemon
However while reading through ObjectManager::GetManagedObjects I came across this concept of "Object Tree". I know that I when I invoke the above method on a service object, it gives me all the interfaces in the tree with the service object as the root (Since the service object implements ObjectManager interface from D-Bus).
I would like someone to very clearly explain what does it mean exactly when one object comes "under" a root object in an "object tree"
What is D-Bus Object Tree? Please!
The semantics of the object tree are determined by the particular service which is providing it. By convention, the location of objects in a tree is just determined by their object path. For example, /org/freedesktop/Accounts/User1000
is considered to be a ‘child object’ of /org/freedesktop/Accounts
. However, there is no formal relationship beyond this.
To answer your specific questions: