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

Method RemoveServerNode

src/plugin/net/src/AFCNetClientService.cpp:222–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void AFCNetClientService::RemoveServerNode(std::shared_ptr<AFConnectionData> data)
223{
224 AFVNode vnode(data->server_bus_id_, data->endpoint_.GetIP(), data->endpoint_.GetPort(), 0);
225 consistent_hashmap_.erase(vnode);
226}
227
228int AFCNetClientService::OnConnect(const AFNetEvent* event)
229{

Callers

nothing calls this directly

Calls 2

GetPortMethod · 0.80
eraseMethod · 0.45

Tested by

no test coverage detected