mapping object paths to method calls

Chris Rebert cvrebert at gmail.com
Sat Apr 8 19:57:01 PDT 2006


Hello.
I'm new at D-BUS and was wondering if it is possible to have an object 
path mapped to a method call, e.g. accessing /org/foo/bar/1123 would 
return the result of /org/foo/bar.someMeth("1123"). I couldn't find an 
answer in this list's archives or the documentation, so I'm doubtful 
this is possible.
My application will have a large database of objects accessible via an 
object path that incorporates their ids (e.g. /org/foo/bar/41254), and 
even using the flyweight pattern, I believe there would not be enough 
memory to register an object path for each object, therefore I would 
like to generate each object on demand if possible, as only a few of the 
many will be in use at any one time.
If you have any ideas on how to accomplish this, I would be most 
appreciative.

Thanks!
- Chris Rebert


More information about the dbus mailing list