| 245 | } |
| 246 | |
| 247 | ~TCPConnection() { |
| 248 | _client.OnError::unsubscribe(onError); |
| 249 | _client.OnData::unsubscribe(onData); |
| 250 | _client.OnDisconnection::unsubscribe(onDisconnection); |
| 251 | } |
| 252 | private: |
| 253 | TCPClient _client; |
| 254 | TCPClient::OnData::Type onData; |
nothing calls this directly
no outgoing calls
no test coverage detected