|
@@ -8,6 +8,7 @@
|
|
|
|
|
|
#include <agent/ca_controller.h>
|
|
#include <agent/ca_controller.h>
|
|
#include <agent/ca_process.h>
|
|
#include <agent/ca_process.h>
|
|
|
|
+#include <agent/parser_context.h>
|
|
|
|
|
|
using namespace isc::process;
|
|
using namespace isc::process;
|
|
|
|
|
|
@@ -40,6 +41,12 @@ CtrlAgentController::createProcess() {
|
|
return (new CtrlAgentProcess(getAppName().c_str(), getIOService()));
|
|
return (new CtrlAgentProcess(getAppName().c_str(), getIOService()));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+isc::data::ConstElementPtr
|
|
|
|
+CtrlAgentController::parseFile(const std::string& name) {
|
|
|
|
+ ParserContext parser;
|
|
|
|
+ return (parser.parseFile(name, ParserContext::PARSER_AGENT));
|
|
|
|
+}
|
|
|
|
+
|
|
CtrlAgentController::CtrlAgentController()
|
|
CtrlAgentController::CtrlAgentController()
|
|
: DControllerBase(agent_app_name_, agent_bin_name_) {
|
|
: DControllerBase(agent_app_name_, agent_bin_name_) {
|
|
}
|
|
}
|