31 #include <PIpcServer.h>
58 virtual void clientConnected(
int pid,
const std::string& name, PIpcChannel* channel);
60 bool nukeProcessTimer();
61 std::string appIdFromPid(
int pid);
62 IpcClientHost* clientHostForAppId(
const std::string& appId)
const;
64 static void childProcessDiedCallback(GPid pid, gint status, gpointer data);
65 void childProcessDied(GPid, gint status);
69 typedef std::map<std::string, int> ProcessMap;
70 typedef std::set<int> ProcessSet;
71 typedef std::set<IpcClientHost*> ClientSet;
73 ProcessMap m_nativeProcessMap;
74 ProcessMap m_webAppProcessMap;
76 ClientSet m_clientHostSet;
78 Timer<IpcServer> m_nukeProcessTimer;