[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS service using glib: question
From:       Robert McQueen <robert.mcqueen () collabora ! co ! uk>
Date:       2006-06-26 11:36:30
Message-ID: 449FC6BE.6070206 () collabora ! co ! uk
[Download RAW message or body]

Xavier Claessens wrote:
> Thanks for answers. Maybe I didn't looked enough to documentation, but
> how can I get the client's unique name ? And how can I get notified when
> it disappear ? I can't find that in glib's API but it is maybe in lower
> level API ?

In the glib bindings, if you use dbus_g_proxy_for_name_owner (rather
than for_name), the proxy object will emit "destroy" when the unique
name of the service providing the object goes away (the proxy manager
listens to NameOwnerChanged for you).

Regards,
Rob

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic