Kea: isc::agent Namespace Reference

| Kea 3.0.2-git

isc::agent Namespace Reference

## Classes
class | AgentParser
| A Bison parser. More...
class | AgentSimpleParser
class | CommandForwardingError
| Exception thrown when an error occurred during control command forwarding. More...
class | CtrlAgentCfgContext
| Control Agent Configuration Context. More...
class | CtrlAgentCfgMgr
| Ctrl Agent Configuration Manager. More...
class | CtrlAgentCommandMgr
| Command Manager for Control Agent. More...
class | CtrlAgentController
| Process Controller for Control Agent Process. More...
class | CtrlAgentProcess
| Kea Control Agent Application Process. More...
class | CtrlAgentResponseCreator
| Concrete implementation of the HTTP response creator used by the Control Agent. More...
class | CtrlAgentResponseCreatorFactory
| HTTP response creator factory for Control Agent. More...
struct | HttpSocketInfo
| Structure used to store HTTP/HTTPS connection data. More...
class | ParserContext
| Parser context is a wrapper around flex/bison instances dedicated to Control-agent config file parser. More...

## Typedefs
typedef boost::shared_ptr< CtrlAgentCfgContext > | CtrlAgentCfgContextPtr
| Pointer to a configuration context.
typedef boost::shared_ptr< CtrlAgentCfgMgr > | CtrlAgentCfgMgrPtr
| Defines a shared pointer to CtrlAgentCfgMgr.
typedef boost::shared_ptr< CtrlAgentController > | CtrlAgentControllerPtr
typedef boost::shared_ptr< CtrlAgentProcess > | CtrlAgentProcessPtr
| Defines a shared pointer to CtrlAgentProcess.
typedef boost::shared_ptr< CtrlAgentResponseCreator > | CtrlAgentResponseCreatorPtr
| Pointer to the CtrlAgentResponseCreator.
typedef boost::shared_ptr< HttpSocketInfo > | HttpSocketInfoPtr
| Pointer to a HttpSocketInfo object.

## Variables
isc::log::Logger | agent_logger ("ctrl-agent")
| Control Agent logger.
const isc::log::MessageID | CTRL_AGENT_COMMAND_FORWARD_BEGIN = "CTRL_AGENT_COMMAND_FORWARD_BEGIN"
const isc::log::MessageID | CTRL_AGENT_COMMAND_FORWARD_FAILED = "CTRL_AGENT_COMMAND_FORWARD_FAILED"
const isc::log::MessageID | CTRL_AGENT_COMMAND_FORWARDED = "CTRL_AGENT_COMMAND_FORWARDED"
const isc::log::MessageID | CTRL_AGENT_COMMAND_RECEIVED = "CTRL_AGENT_COMMAND_RECEIVED"
const isc::log::MessageID | CTRL_AGENT_CONFIG_CHECK_FAIL = "CTRL_AGENT_CONFIG_CHECK_FAIL"
const isc::log::MessageID | CTRL_AGENT_CONFIG_FAIL = "CTRL_AGENT_CONFIG_FAIL"
const isc::log::MessageID | CTRL_AGENT_CONFIG_SYNTAX_WARNING = "CTRL_AGENT_CONFIG_SYNTAX_WARNING"
const isc::log::MessageID | CTRL_AGENT_FAILED = "CTRL_AGENT_FAILED"
const isc::log::MessageID | CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED"
const isc::log::MessageID | CTRL_AGENT_HTTP_SERVICE_STARTED = "CTRL_AGENT_HTTP_SERVICE_STARTED"
const isc::log::MessageID | CTRL_AGENT_HTTP_SERVICE_UPDATED = "CTRL_AGENT_HTTP_SERVICE_UPDATED"
const isc::log::MessageID | CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED"
const isc::log::MessageID | CTRL_AGENT_HTTPS_SERVICE_STARTED = "CTRL_AGENT_HTTPS_SERVICE_STARTED"
const isc::log::MessageID | CTRL_AGENT_HTTPS_SERVICE_UPDATED = "CTRL_AGENT_HTTPS_SERVICE_UPDATED"
const isc::log::MessageID | CTRL_AGENT_IS_DEPRECATED = "CTRL_AGENT_IS_DEPRECATED"
const isc::log::MessageID | CTRL_AGENT_RUN_EXIT = "CTRL_AGENT_RUN_EXIT"
const isc::log::MessageID | CTRL_AGENT_SECURITY_CHECKS_DISABLED = "CTRL_AGENT_SECURITY_CHECKS_DISABLED"
const isc::log::MessageID | CTRL_AGENT_STARTED = "CTRL_AGENT_STARTED"

## Typedef Documentation

## ◆ CtrlAgentCfgContextPtr

typedef boost::shared_ptr<CtrlAgentCfgContext> isc::agent::CtrlAgentCfgContextPtr

Pointer to a configuration context.

Definition at line 24 of file ca_cfg_mgr.h.

## ◆ CtrlAgentCfgMgrPtr

typedef boost::shared_ptr<CtrlAgentCfgMgr> isc::agent::CtrlAgentCfgMgrPtr

Defines a shared pointer to CtrlAgentCfgMgr.

Definition at line 329 of file ca_cfg_mgr.h.

## ◆ CtrlAgentControllerPtr

typedef boost::shared_ptr<CtrlAgentController> isc::agent::CtrlAgentControllerPtr

Definition at line 80 of file ca_controller.h.

## ◆ CtrlAgentProcessPtr

typedef boost::shared_ptr<CtrlAgentProcess> isc::agent::CtrlAgentProcessPtr

Defines a shared pointer to CtrlAgentProcess.

Definition at line 164 of file ca_process.h.

## ◆ CtrlAgentResponseCreatorPtr

typedef boost::shared_ptr<CtrlAgentResponseCreator> isc::agent::CtrlAgentResponseCreatorPtr

Pointer to the CtrlAgentResponseCreator.

Definition at line 20 of file ca_response_creator.h.

## ◆ HttpSocketInfoPtr

typedef boost::shared_ptr<HttpSocketInfo> isc::agent::HttpSocketInfoPtr

Pointer to a HttpSocketInfo object.

Definition at line 39 of file ca_process.h.

## Variable Documentation

## ◆ agent_logger

isc::log::Logger isc::agent::agent_logger | ( | "ctrl-agent" |  | ) |

Control Agent logger.

Definition at line 18 of file ca_log.h.

Referenced by isc::agent::CtrlAgentProcess::configure(), isc::agent::CtrlAgentCommandMgr::handleCommand(), isc::agent::CtrlAgentCfgMgr::parse(), isc::agent::CtrlAgentProcess::run(), and isc::agent::ParserContext::warning().

## ◆ CTRL_AGENT_COMMAND_FORWARD_BEGIN

const isc::log::MessageID isc::agent::CTRL_AGENT_COMMAND_FORWARD_BEGIN = "CTRL_AGENT_COMMAND_FORWARD_BEGIN"
| extern

Definition at line 12 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentCommandMgr::handleCommand().

## ◆ CTRL_AGENT_COMMAND_FORWARD_FAILED

const isc::log::MessageID isc::agent::CTRL_AGENT_COMMAND_FORWARD_FAILED = "CTRL_AGENT_COMMAND_FORWARD_FAILED"
| extern

Definition at line 13 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentCommandMgr::handleCommand().

## ◆ CTRL_AGENT_COMMAND_FORWARDED

const isc::log::MessageID isc::agent::CTRL_AGENT_COMMAND_FORWARDED = "CTRL_AGENT_COMMAND_FORWARDED"
| extern

Definition at line 11 of file ca_messages.h.

## ◆ CTRL_AGENT_COMMAND_RECEIVED

const isc::log::MessageID isc::agent::CTRL_AGENT_COMMAND_RECEIVED = "CTRL_AGENT_COMMAND_RECEIVED"
| extern

Definition at line 14 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentCommandMgr::handleCommand().

## ◆ CTRL_AGENT_CONFIG_CHECK_FAIL

const isc::log::MessageID isc::agent::CTRL_AGENT_CONFIG_CHECK_FAIL = "CTRL_AGENT_CONFIG_CHECK_FAIL"
| extern

Definition at line 15 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentCfgMgr::parse().

## ◆ CTRL_AGENT_CONFIG_FAIL

const isc::log::MessageID isc::agent::CTRL_AGENT_CONFIG_FAIL = "CTRL_AGENT_CONFIG_FAIL"
| extern

Definition at line 16 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentCfgMgr::parse().

## ◆ CTRL_AGENT_CONFIG_SYNTAX_WARNING

const isc::log::MessageID isc::agent::CTRL_AGENT_CONFIG_SYNTAX_WARNING = "CTRL_AGENT_CONFIG_SYNTAX_WARNING"
| extern

Definition at line 17 of file ca_messages.h.

Referenced by isc::agent::ParserContext::warning().

## ◆ CTRL_AGENT_FAILED

const isc::log::MessageID isc::agent::CTRL_AGENT_FAILED = "CTRL_AGENT_FAILED"
| extern

Definition at line 18 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::run().

## ◆ CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED"
| extern

Definition at line 22 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_HTTP_SERVICE_STARTED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTP_SERVICE_STARTED = "CTRL_AGENT_HTTP_SERVICE_STARTED"
| extern

Definition at line 23 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_HTTP_SERVICE_UPDATED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTP_SERVICE_UPDATED = "CTRL_AGENT_HTTP_SERVICE_UPDATED"
| extern

Definition at line 24 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED"
| extern

Definition at line 19 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_HTTPS_SERVICE_STARTED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTPS_SERVICE_STARTED = "CTRL_AGENT_HTTPS_SERVICE_STARTED"
| extern

Definition at line 20 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_HTTPS_SERVICE_UPDATED

const isc::log::MessageID isc::agent::CTRL_AGENT_HTTPS_SERVICE_UPDATED = "CTRL_AGENT_HTTPS_SERVICE_UPDATED"
| extern

Definition at line 21 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::configure().

## ◆ CTRL_AGENT_IS_DEPRECATED

const isc::log::MessageID isc::agent::CTRL_AGENT_IS_DEPRECATED = "CTRL_AGENT_IS_DEPRECATED"
| extern

Definition at line 25 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::run().

## ◆ CTRL_AGENT_RUN_EXIT

const isc::log::MessageID isc::agent::CTRL_AGENT_RUN_EXIT = "CTRL_AGENT_RUN_EXIT"
| extern

Definition at line 26 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::run().

## ◆ CTRL_AGENT_SECURITY_CHECKS_DISABLED

const isc::log::MessageID isc::agent::CTRL_AGENT_SECURITY_CHECKS_DISABLED = "CTRL_AGENT_SECURITY_CHECKS_DISABLED"
| extern

Definition at line 27 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::run().

## ◆ CTRL_AGENT_STARTED

const isc::log::MessageID isc::agent::CTRL_AGENT_STARTED = "CTRL_AGENT_STARTED"
| extern

Definition at line 28 of file ca_messages.h.

Referenced by isc::agent::CtrlAgentProcess::run().