Re: multiple services per client?

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
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.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.