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

Method canSend

MonaBase/sources/Socket.cpp:403–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401
402
403 bool canSend(Exception& ex) {
404 lock_guard<mutex> lock(_mutexAsync);
405 return !_connecting && _senders.empty();
406 }
407
408 bool addSender(Exception& ex,const shared_ptr<SocketSender>& pSender) {
409 lock_guard<recursive_mutex> lock(_mutexManaged);

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected