| 200 | } |
| 201 | |
| 202 | bool 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 | |
| 208 | bool AFCNetClientService::GetServerNode(const std::string& hash_key, AFVNode& vnode) |
| 209 | { |