42 std::shared_ptr<mesh::Server> receiver_;
43 std::shared_ptr<mesh::Client> sender_;
46 std::vector<std::string> peers_;
48 std::unique_ptr<mesh::Worker> worker_;
50 std::shared_ptr<Logger::p2p_log> p2p_log_{
nullptr};
53 P2PComm(
const std::string &self,
const std::vector<std::string> &peers,
64 int Allgather(
void *sbuf,
int sendcount, uint8_t sendtype,
void *rbuf,
int recvcount,
int Allgather(void *sbuf, int sendcount, uint8_t sendtype, void *rbuf, int recvcount, uint8_t recvtype)