| 220 | } |
| 221 | |
| 222 | void 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 | |
| 228 | int AFCNetClientService::OnConnect(const AFNetEvent* event) |
| 229 | { |