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 {
42 static CtrlAgentCommandMgr&
instance();
101 forwardCommand(
const std::string& service,
const std::string& cmd_name,
108 CtrlAgentCommandMgr();
111 std::string remote_addr_;
Exception(const char *file, size_t line, const char *what)
Constructor for a given type for exceptions with file name and file line number.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
CommandForwardingError(const char *file, size_t line, const char *what)
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.