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

Method OnCommandFromConnector

Src/Core/DeviceBridge.cpp:73–77  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

71
72////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
73void FSecure::C3::Core::DeviceBridge::OnCommandFromConnector(ByteView command)
74{
75 auto lock = std::lock_guard<std::mutex>{ m_ProtectWriteInConcurrentThreads };
76 m_SendQueue.emplace_back(command);
77}
78
79////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
80FSecure::ByteVector FSecure::C3::Core::DeviceBridge::RunCommand(ByteView command)

Callers 3

OnSendMethod · 0.45
OnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected