| 152 | } |
| 153 | |
| 154 | Socket* GetSocketFromServer(size_t index) { |
| 155 | std::vector<SocketId> sids; |
| 156 | _server._am->ListConnections(&sids); |
| 157 | if (index >= sids.size()) { |
| 158 | return NULL; |
| 159 | } |
| 160 | SocketUniquePtr s; |
| 161 | if (Socket::Address(sids[index], &s) == 0) { |
| 162 | return s.get(); |
| 163 | } |
| 164 | return NULL; |
| 165 | } |
| 166 | |
| 167 | butil::TempFile _server_list; |
| 168 | std::string _naming_url; |
nothing calls this directly
no test coverage detected