Re: Multiple connections to dbus-daemon in single appication
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Thu, 20 Sep 2018 12:55:05 +0100, Simon McVittie wrote: > On Thu, 20 Sep 2018 at 07:05:48 +1200, Lawrence D'Oliveiro wrote: > >> Actually, come to think of it, if you want messages addressed to >> different bus names to be handled differently, this is the only way >> to do it > > Yes, that's one of the unusual situations where this makes sense. It's > more usual to have a single connection, treat your unique name and all > your well-known names as being essentially equivalent, and use > distinct object paths and interfaces for the different APIs you offer. Then again, I think that’s a better approach: key the semantics of your APIs off the interface name, not the bus name. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus