9 Cluster(Server &&serv, uint16_t cnt = 0);
13 Cluster(const Cluster &c) = delete;
14 Cluster &operator = (const Cluster &c) = delete;
21 Cluster &operator = (Cluster &&c) {
22 count = exchange(c.count, 0);
23 proto = exchange(c.proto, Server{});
24 cluster = exchange(c.cluster, {});
25 pids = exchange(c.pids, {});
29 const vector<Server> &getServers() const;
41 vector<Server> cluster;
42 map<pid_t, Server *> pids;