22 NSMNodeDaemon() : m_timeout(0) {}
24 const std::string& host1,
int port1,
26 const std::string& host2 =
"",
int port2 = 0)
29 add(callback1, host1, port1);
30 add(callback2, host2, port2);
32 virtual ~NSMNodeDaemon() {}
35 void add(
NSMCallback* callback,
const std::string& host,
int port);
42 std::vector<NSMCallback*> m_callback;