Clean up ExternalCommandProcessor method names.

This commit is contained in:
Gunnar Beutner 2013-10-16 12:09:45 +02:00
parent d07dc47b1b
commit 6f645ecfbf
2 changed files with 6 additions and 6 deletions

View File

@ -180,8 +180,8 @@ void ExternalCommandProcessor::Initialize(void)
RegisterCommand("DISABLE_PERFORMANCE_DATA", &ExternalCommandProcessor::DisablePerformanceData); RegisterCommand("DISABLE_PERFORMANCE_DATA", &ExternalCommandProcessor::DisablePerformanceData);
RegisterCommand("START_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StartExecutingSvcChecks); RegisterCommand("START_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StartExecutingSvcChecks);
RegisterCommand("STOP_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StopExecutingSvcChecks); RegisterCommand("STOP_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StopExecutingSvcChecks);
RegisterCommand("CHANGE_SVC_MODATTR", &ExternalCommandProcessor::ChangeSvcModAttr); RegisterCommand("CHANGE_SVC_MODATTR", &ExternalCommandProcessor::ChangeSvcModattr);
RegisterCommand("CHANGE_HOST_MODATTR", &ExternalCommandProcessor::ChangeHostModAttr); RegisterCommand("CHANGE_HOST_MODATTR", &ExternalCommandProcessor::ChangeHostModattr);
} }
void ExternalCommandProcessor::RegisterCommand(const String& command, const ExternalCommandProcessor::Callback& callback) void ExternalCommandProcessor::RegisterCommand(const String& command, const ExternalCommandProcessor::Callback& callback)
@ -1818,7 +1818,7 @@ void ExternalCommandProcessor::StopExecutingSvcChecks(double time, const std::ve
IcingaApplication::GetInstance()->SetEnableChecks(false); IcingaApplication::GetInstance()->SetEnableChecks(false);
} }
void ExternalCommandProcessor::ChangeSvcModAttr(double time, const std::vector<String>& arguments) void ExternalCommandProcessor::ChangeSvcModattr(double time, const std::vector<String>& arguments)
{ {
if (arguments.size() < 3) if (arguments.size() < 3)
BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments.")); BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments."));
@ -1839,7 +1839,7 @@ void ExternalCommandProcessor::ChangeSvcModAttr(double time, const std::vector<S
} }
} }
void ExternalCommandProcessor::ChangeHostModAttr(double time, const std::vector<String>& arguments) void ExternalCommandProcessor::ChangeHostModattr(double time, const std::vector<String>& arguments)
{ {
if (arguments.size() < 3) if (arguments.size() < 3)
BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments.")); BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments."));

View File

@ -131,8 +131,8 @@ private:
static void DisablePerformanceData(double time, const std::vector<String>& arguments); static void DisablePerformanceData(double time, const std::vector<String>& arguments);
static void StartExecutingSvcChecks(double time, const std::vector<String>& arguments); static void StartExecutingSvcChecks(double time, const std::vector<String>& arguments);
static void StopExecutingSvcChecks(double time, const std::vector<String>& arguments); static void StopExecutingSvcChecks(double time, const std::vector<String>& arguments);
static void ChangeSvcModAttr(double time, const std::vector<String>& arguments); static void ChangeSvcModattr(double time, const std::vector<String>& arguments);
static void ChangeHostModAttr(double time, const std::vector<String>& arguments); static void ChangeHostModattr(double time, const std::vector<String>& arguments);
}; };
} }