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

Method onDisconnection

MonaServer/sources/ServerConnection.cpp:212–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void ServerConnection::onDisconnection(){
213 _sendingRefs.clear();
214 _receivingRefs.clear();
215 if(_connected)
216 _connected=false;
217 MapParameters::clear();
218 OnDisconnection::raise(_ex,*this); // in last because can delete this
219}
220
221bool ServerConnection::protocolAddress(Exception& ex, const string& protocol,SocketAddress& socketAddress) {
222 string buffer;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected