Skip to content
Discussion options

You must be logged in to vote

To follow up on this, what we ended up doing was:

  • retrieve the sender of the D-Bus message with getObject().getCurrentlyProcessedMessage().getSender(), which would give a unique name (e.g. :1.110)
  • retrieve the list of all the connected names on the bus with ListNames()
  • Optionally, remove unique names from this list, keeping only well-known names
  • For each well-known name in the list, use GetNameOwner() to get the unique name that owns the well-known name

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@nicomuns
Comment options

@sangelovic
Comment options

@nicomuns
Comment options

@nicomuns
Comment options

Answer selected by nicomuns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #535 on April 22, 2026 13:15.