Multiple connections to dbus-daemon in single appication

Lawrence D'Oliveiro ldo at
Fri Sep 21 03:09:29 UTC 2018

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.

More information about the dbus mailing list