MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / enqeueWaitForAcknowledgment

Method enqeueWaitForAcknowledgment

src/network/ProtocolClient.cpp:915–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913 }
914
915 void ProtocolClient::enqeueWaitForAcknowledgment(openmittsu::protocol::ContactId const& sender, openmittsu::protocol::MessageId const& messageId, std::shared_ptr<openmittsu::acknowledgments::AcknowledgmentProcessor> const& acknowledgmentProcessor) {
916 QMutexLocker lock(&acknowledgmentWaitingMutex);
917
918 acknowledgmentProcessor->addMessage(messageId);
919 acknowledgmentWaitingMessages.insert(messageId, acknowledgmentProcessor);
920 }
921
922 void ProtocolClient::socketOnError(QAbstractSocket::SocketError socketError) {
923 switch (socketError) {

Callers

nothing calls this directly

Calls 1

addMessageMethod · 0.45

Tested by

no test coverage detected