[Telepathy] "This connection has no unique name yet"

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Thu Jun 4 14:48:23 PDT 2009


Often when I'm sending broadcast signals on a D-Bus Tube, I want to
respond only if the signal was not sent by myself.  To this end, it would
be convenient to cache my own "sender" identity.  I have tried to do so
using get_unique_name(), but if I call it too early I get

DbusException: This connection has no unique name yet

Is there documentation for when a connection acquires a name, and when it
is safe to call get_unique_name() ?

Thank you,
Ben Schwartz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20090604/124626ba/attachment.pgp 


More information about the telepathy mailing list