management: Controller validates ControlCommand response
refs #3653
Change-Id: I70fd96075357840928bc813e64030b3e513f698a
diff --git a/src/management/nfd-controller.hpp b/src/management/nfd-controller.hpp
index 9fa721b..f1d6df9 100644
--- a/src/management/nfd-controller.hpp
+++ b/src/management/nfd-controller.hpp
@@ -107,6 +107,12 @@
const CommandSucceedCallback& onSuccess,
const CommandFailCallback& onFailure);
+ void
+ processValidatedCommandResponse(const Data& data,
+ const shared_ptr<ControlCommand>& command,
+ const CommandSucceedCallback& onSuccess,
+ const CommandFailCallback& onFailure);
+
template<typename Dataset>
void
fetchDataset(shared_ptr<Dataset> dataset,
@@ -130,7 +136,6 @@
void
processDatasetFetchError(const CommandFailCallback& onFailure, uint32_t code, std::string msg);
-
public:
/** \brief error code for timeout
*/