multiple services per client?

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Feb 18 22:03:16 UTC 2019


On Mon, 18 Feb 2019 16:55:34 -0500, Felipe Gasper wrote:

> Let’s say I’m running services A and B on the same connection. How
> would I introspect objects on these services? I can’t distinguish
> between the services based on the interface because it’s the same
> interface.

If it’s the same interface, it should be the same service. Different
services should be distinguished by different interfaces.

> So the two services would basically need to share the same
> object-path namespace, in which case they’re basically the same
> service.

You can offer different services on the same objects -- that’s what
interfaces are for.


More information about the dbus mailing list