MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / AddServerNode

Method AddServerNode

src/plugin/net/src/AFCNetClientService.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202bool AFCNetClientService::AddServerNode(std::shared_ptr<AFConnectionData> data)
203{
204 consistent_hashmap_.insert(data->server_bus_id_, data->endpoint_.GetIP(), data->endpoint_.GetPort());
205 return true;
206}
207
208bool AFCNetClientService::GetServerNode(const std::string& hash_key, AFVNode& vnode)
209{

Callers

nothing calls this directly

Calls 2

GetPortMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected