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

Method EnableActiveChangedHandler

lib/db_ido/dbconnection.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void DbConnection::EnableActiveChangedHandler()
73{
74 if (!m_ActiveChangedHandler) {
75 ConfigObject::OnActiveChanged.connect([this](const ConfigObject::Ptr& object, const Value&) { UpdateObject(object); });
76 m_ActiveChangedHandler = true;
77 }
78}
79
80void DbConnection::Resume()
81{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected