| 110 | } |
| 111 | |
| 112 | client_socket* ExternalClients::get_socket(int id) |
| 113 | { |
| 114 | ScopeLock _(lock); |
| 115 | if (external_client_sockets.find(id) == external_client_sockets.end()) |
| 116 | throw runtime_error("external connection not found for id " + to_string(id)); |
| 117 | return external_client_sockets[id]; |
| 118 | } |
no test coverage detected