| 28 | NetworkTurnConnecter(ClientNetworkTurnSocketHandler *handler, std::string_view connection_string) : TCPConnecter(connection_string, NETWORK_TURN_SERVER_PORT), handler(handler) {} |
| 29 | |
| 30 | void OnFailure() override |
| 31 | { |
| 32 | Debug(net, 9, "Turn::OnFailure()"); |
| 33 | |
| 34 | this->handler->connecter = nullptr; |
| 35 | |
| 36 | this->handler->ConnectFailure(); |
| 37 | } |
| 38 | |
| 39 | void OnConnect(SOCKET s) override |
| 40 | { |
nothing calls this directly
no test coverage detected