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,
111 std::string remote_addr_;
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Exception thrown when an error occurred during control command forwarding.
CommandForwardingError(const char *file, size_t line, const char *what)
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.
static CtrlAgentCommandMgr & instance()
Returns sole instance of the Command Manager.
virtual isc::data::ConstElementPtr processCommand(const isc::data::ConstElementPtr &cmd)
Triggers command processing.
Command Manager which can delegate commands to a hook library.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-lfc.