MCPcopy Create free account
hub / github.com/Tencent/embedx / Start

Method Start

src/graph/server/dist_graph_server.cc:151–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151bool DistGraphServer::Start(const GraphConfig& config) {
152 if (!InitGraphServer(config)) {
153 DXERROR("Failed to init graph server.");
154 return false;
155 }
156
157 if (!InitRpcServer(config)) {
158 DXERROR("Failed to init rpc server.");
159 return false;
160 }
161
162 RegisterRequestHandler();
163 TouchSuccessFile(config);
164 rpc_server_.Run();
165 return true;
166}
167
168} // namespace embedx

Callers 1

mainFunction · 0.80

Calls 2

TouchSuccessFileFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected