11 static void destroy();
12 static size_t size() { return hosts.size(); }
13 static const hostdata& at(size_t i) { return hosts[i]; }
15 hostdata(m_host_t host);
18 const char* get_name() const { return name; }
19 const char* get_ctrl_mbox() const { return ctrl_mbox.c_str(); }
20 const char* get_data_mbox() const { return data_mbox.c_str(); }
23 // static list of hostdata's, used by create/destroy
24 static std::vector<hostdata> hosts;
28 std::string ctrl_mbox;
29 std::string data_mbox;