Tracking Application Lifetime [again]
Soh Kam Yung
sohkamyung at gmail.com
Thu Aug 7 02:53:52 PDT 2008
On Thu, Aug 7, 2008 at 4:09 PM, Thiago Macieira <thiago at kde.org> wrote:
>
> Pre-requisite: both applications (tracker and "trackee") are connected to D-
> Bus
>
> Step 1: tracker somehow finds out which, out of the many applications
> connected to D-Bus, is the one it wants to track.
> Suggestions:
> - the tracked application registers a well known name (org.foo.Application)
> - the tracked application is doing some kind of activity, like emitting a
> signal or calling the tracker, so the tracker gets the unique ID (:1.xx)
>
Just to be certain, by unique ID, you mean the return value from
dbus_message_get_sender()?
Regards,
Kam-Yung
--
Soh Kam Yung
my Google Reader Shared links:
(http://www.google.com/reader/shared/16851815156817689753)
my Google Reader Shared SFAS links:
(http://www.google.com/reader/shared/user/16851815156817689753/label/sfas)
More information about the dbus
mailing list