7 #ifndef CTRL_AGENT_COMMAND_MGR_H
8 #define CTRL_AGENT_COMMAND_MGR_H
12 #include <boost/noncopyable.hpp>
13 #include <boost/shared_ptr.hpp>
38 public boost::noncopyable {
101 forwardCommand(
const std::string& service,
const std::string& cmd_name,
Exception thrown when an error occurred during control command forwarding.
virtual isc::data::ConstElementPtr processCommand(const isc::data::ConstElementPtr &cmd)
Triggers command processing.
static CtrlAgentCommandMgr & instance()
Returns sole instance of the Command Manager.
Command Manager which can delegate commands to a hook library.
Command Manager for Control Agent.
virtual isc::data::ConstElementPtr handleCommand(const std::string &cmd_name, const isc::data::ConstElementPtr ¶ms, const isc::data::ConstElementPtr &original_cmd)
Handles the command having a given name and arguments.
boost::shared_ptr< const Element > ConstElementPtr
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
CommandForwardingError(const char *file, size_t line, const char *what)