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

Method AddService

lib/icinga/host.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void Host::AddService(const Service::Ptr& service)
100{
101 std::unique_lock<std::mutex> lock(m_ServicesMutex);
102
103 m_Services[service->GetShortName()] = service;
104}
105
106void Host::RemoveService(const Service::Ptr& service)
107{

Callers 2

OnAllConfigLoadedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected