from dbus , how do i find if app went down
Pradeepa Kumar
cdpradeepa at gmail.com
Fri Jul 3 02:58:50 PDT 2015
I am writing lib which will monitor apps and notify/callback higher level
if apps went down.
How can I achieve this?
I tried doing this using propertieschanged signal and reading substate
property and that msg does not have old value and new value in the msg.
I noticed that when app go down i get two signals and hence two substates -
stop and stop-term.
So it is difficult to call registered callbacks only when substate changes
from running->stop.
Do i need to maintain current state of app in my lib?
is there any other easier way for this ??
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20150703/3b640fb1/attachment.html>
More information about the dbus
mailing list