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

Method CommandArgumentsChangedHandler

lib/icingadb/icingadb-objects.cpp:3146–3151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3144}
3145
3146void IcingaDB::CommandArgumentsChangedHandler(const Command::Ptr& command, const Dictionary::Ptr& oldValues, const Dictionary::Ptr& newValues) {
3147 const auto& cmdRedisKeys = GetCmdEnvArgKeys(command->GetReflectionType());
3148 for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
3149 rw->SendCommandArgumentsChanged(command, cmdRedisKeys, oldValues, newValues);
3150 }
3151}
3152
3153void IcingaDB::CustomVarsChangedHandler(const ConfigObject::Ptr& object, const Dictionary::Ptr& oldValues, const Dictionary::Ptr& newValues) {
3154 for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {

Callers

nothing calls this directly

Calls 2

GetReflectionTypeMethod · 0.45

Tested by

no test coverage detected