MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ~TCPConnection

Method ~TCPConnection

UnitTests/sources/SocketTest.cpp:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 ~TCPConnection() {
248 _client.OnError::unsubscribe(onError);
249 _client.OnData::unsubscribe(onData);
250 _client.OnDisconnection::unsubscribe(onDisconnection);
251 }
252private:
253 TCPClient _client;
254 TCPClient::OnData::Type onData;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected