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

Method ApiFunction

lib/remote/apifunction.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}, InitializePriority::FreezeNamespaces);
11
12ApiFunction::ApiFunction(const char* name, Callback function)
13 : m_Name(name), m_Callback(std::move(function))
14{ }
15
16Value ApiFunction::Invoke(const MessageOrigin::Ptr& origin, const Dictionary::Ptr& arguments)
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected