summaryrefslogtreecommitdiffstats
path: root/src/bin/agent/ca_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/agent/ca_controller.h')
-rw-r--r--src/bin/agent/ca_controller.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/bin/agent/ca_controller.h b/src/bin/agent/ca_controller.h
index 1f2f34417a..179d35d710 100644
--- a/src/bin/agent/ca_controller.h
+++ b/src/bin/agent/ca_controller.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -47,6 +47,19 @@ public:
isc::data::ConstElementPtr
parseFile(const std::string& name);
+ /// @brief Register commands.
+ ///
+ /// For all commands in the commands_ set at the exception of
+ /// list-commands register the command with the generic
+ /// @ref isc::process::DControllerBase::executeCommand() handler.
+ void registerCommands();
+
+ /// @brief Deregister commands.
+ ///
+ /// For all commands in the commands_ set at the exception of
+ /// list-commands deregister the command.
+ void deregisterCommands();
+
private:
/// @brief Creates an instance of the Control Agent application
@@ -64,9 +77,11 @@ private:
/// @brief Constructor is declared private to maintain the integrity of
/// the singleton instance.
CtrlAgentController();
-
};
+// @Defines a shared pointer to CtrlAgentController
+typedef boost::shared_ptr<CtrlAgentController> CtrlAgentControllerPtr;
+
} // namespace isc::agent
} // namespace isc