<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8">Hi,<div><br></div><div>I have server application which comunicate with plugins. Plugins send presence (special dbus method call) to this server so user can se which plugins are current "connected". If plugin terminate then he send another "<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">absence" method. But what if plugin </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">suddenly is terminated (</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">killed</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">) and could not send absence method and serwer still showing it as connected? I could add some timer which check presence of plugins but don't know what check. If server get method call from plugin, I can get sender calling dbus_message_get_sender function but what to do with this value (I get something like "1.407")</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">Regards</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8">