The kdbuswreck
The kdbuswreck
Posted Apr 25, 2015 12:27 UTC (Sat) by lsl (subscriber, #86508)In reply to: The kdbuswreck by cortana
Parent article: The kdbuswreck
That seems backwards to me. Why would I even care what object I talk to? I just want *some* object that implements the interface I need.
So when calling methods on the 'org.freedesktop.ColorManager' interface those get dispatched to an implementation that makes sense accorrding to local system configuration, say colord, KolorManager or whatever the user set up for this.
Is it possible to sanely use dbus this way? I mean, I can certainly enumerate the bus und search for something that implements the wanted interface but that doesn't seem reasonable.
So let's take a step back here. How would one implement the concept "I want this functionality but I don't care who provides it" in dbus? Are interfaces a red herring here and I better look at well-known names? What those resolve to is up to system configuration, right? So is this the point where it is commonly decided what program will handle my requests regarding color management? Whatever owns the name?
