From 782ab2e2bd7c727ea1c5bda395d0ab9ebcf79bfb Mon Sep 17 00:00:00 2001 From: xjqbest <173596896@qq.com> Date: Sat, 30 Mar 2019 18:48:45 +0800 Subject: [PATCH] add some doc test=develop --- paddle/fluid/framework/fleet/fleet_wrapper.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paddle/fluid/framework/fleet/fleet_wrapper.h b/paddle/fluid/framework/fleet/fleet_wrapper.h index 294367722..386e711ff 100644 --- a/paddle/fluid/framework/fleet/fleet_wrapper.h +++ b/paddle/fluid/framework/fleet/fleet_wrapper.h @@ -121,12 +121,17 @@ class FleetWrapper { void StopServer(); uint64_t RunServer(); void GatherServers(const std::vector& host_sign_list, int node_num); + // gather client ip void GatherClients(const std::vector& host_sign_list); + // get client info std::vector GetClientsInfo(); + // create client to client connection void CreateClient2ClientConnection(); + // register client to client communication typedef std::function MsgHandlerFunc; int RegisterClientToClientMsgHandler(int msg_type, MsgHandlerFunc handler); + // send client to client message std::future SendClientToClientMsg(int msg_type, int to_client_id, const std::string& msg); -- GitLab