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

Method FindRouteByOutgoingChannel

Src/Core/RouteManager.cpp:37–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

35
36////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
37std::shared_ptr<FSecure::C3::Core::RouteManager::Route> FSecure::C3::Core::RouteManager::FindRouteByOutgoingChannel(DeviceId deviceId) const noexcept
38{
39 return m_Routes.Find([&deviceId](auto const& e) {return e->m_OutgoingDeviceId == deviceId; });
40}
41
42////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
43void FSecure::C3::Core::RouteManager::RemoveAllRoutes()

Callers

nothing calls this directly

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected