MCPcopy Create free account
hub / github.com/alibaba/euler / DoAddChannel

Method DoAddChannel

euler/client/rpc_manager.cc:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void RpcManager::DoAddChannel(const std::string &host_port) {
114 for (int tag = 0; tag < num_channels_per_host_; ++tag) {
115 channels_.emplace_back(CreateChannel(host_port, tag));
116 }
117}
118
119void RpcManager::DoRemoveChannel(const std::string &host_port) {
120 channels_.erase(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected