MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / Send

Method Send

Src/Common/FSecure/Sockets/DuplexConnection.cpp:108–113  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

106
107////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
108void FSecure::DuplexConnection::Send(ByteVector message)
109{
110 std::scoped_lock lock(m_MessagesMutex);
111 m_Messages.emplace(std::move(message));
112 m_NewMessage.notify_one();
113}
114
115////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
116FSecure::ByteVector FSecure::DuplexConnection::GetMessage(std::unique_lock<std::mutex>& lock)

Callers 1

StartSendingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected