MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / close

Method close

MonaServer/sources/ServerConnection.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90void ServerConnection::close() {
91 _pClient.reset(new TCPClient(_pClient->manager()));
92 _pClient->OnError::subscribe(_onError);
93 _pClient->OnDisconnection::subscribe(_onDisconnection);
94 _pClient->OnData::subscribe(_onData);
95}
96
97void ServerConnection::connect(const Parameters& parameters) {
98 if(_connected)

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected