MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Endpoint

Method Endpoint

lib/remote/endpoint.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49Endpoint::Endpoint()
50{
51 for (auto& [name, afunc] : ApiFunctionRegistry::GetInstance()->GetItems()) {
52 m_MessageCounters.emplace(afunc, 0);
53 }
54}
55
56void Endpoint::AddClient(const JsonRpcConnection::Ptr& client)
57{

Callers

nothing calls this directly

Calls 2

emplaceMethod · 0.80
GetItemsMethod · 0.45

Tested by

no test coverage detected