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

Method onConnection

MonaBase/sources/Socket.cpp:174–179  ·  view source on GitHub ↗

Can be called by a separated thread (socketmanager handle thread)

Source from the content-addressed store, hash-verified

172
173 // Can be called by a separated thread (socketmanager handle thread)
174 bool onConnection() {
175 lock_guard<mutex> lock(_mutexAsync);
176 bool result(_connecting);
177 _connecting = false;
178 return result;
179 }
180
181 NET_SOCKET acceptConnection(Exception& ex,SocketAddress& address) {
182 ASSERT_RETURN(_initialized, NET_INVALID_SOCKET)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected