 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef CTRL_AGENT_PROCESS_H
8 #define CTRL_AGENT_PROCESS_H
107 bool check_only =
false);
133 void garbageCollectListeners();
142 std::vector<http::HttpListenerPtr> http_listeners_;
152 #endif // CTRL_AGENT_PROCESS_H
virtual void run()
Implements the process's event loop.
boost::shared_ptr< const HttpListener > ConstHttpListenerPtr
Pointer to the const HttpListener.
virtual isc::data::ConstElementPtr configure(isc::data::ConstElementPtr config_set, bool check_only=false)
Processes the given configuration.
CtrlAgentProcess(const char *name, const asiolink::IOServicePtr &io_service)
Constructor.
boost::shared_ptr< CtrlAgentCfgMgr > CtrlAgentCfgMgrPtr
Defines a shared pointer to CtrlAgentCfgMgr.
virtual isc::data::ConstElementPtr shutdown(isc::data::ConstElementPtr args)
Initiates the process's shutdown process.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool isListening() const
Checks if the process is listening to the HTTP requests.
virtual ~CtrlAgentProcess()
Destructor.
Application Process Interface.
CtrlAgentCfgMgrPtr getCtrlAgentCfgMgr()
Returns a pointer to the configuration manager.
boost::shared_ptr< CtrlAgentProcess > CtrlAgentProcessPtr
Defines a shared pointer to CtrlAgentProcess.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
virtual void init()
Initialize the Control Agent process.
Kea Control Agent Application Process.
boost::shared_ptr< const Element > ConstElementPtr
http::ConstHttpListenerPtr getHttpListener() const
Returns a const pointer to the HTTP listener used by the process.