switch to ndn-cxx KeyChain v2
ValidatorConfig is temporarily disabled. All commands are
authorized without validation.
refs #4091
Change-Id: I4eea8cd954761424d2d084bda4e8510320b5fb46
diff --git a/src/handles/watch-handle.hpp b/src/handles/watch-handle.hpp
index f34b1fb..a3e9e5f 100644
--- a/src/handles/watch-handle.hpp
+++ b/src/handles/watch-handle.hpp
@@ -34,11 +34,8 @@
* @brief WatchHandle provides a different way for repo to insert data.
*
* Repo keeps sending interest to request the data with same prefix,
- *
* but with different exclude selectors(updated every time). Repo will stop
- *
* watching the prefix until a command interest tell it to stop, the total
- *
* amount of sent interests reaches a specific number or time out.
*/
class WatchHandle : public BaseHandle
@@ -58,7 +55,7 @@
public:
WatchHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
- Scheduler& scheduler, ValidatorConfig& validator);
+ Scheduler& scheduler, Validator& validator);
virtual void
listen(const Name& prefix);
@@ -155,8 +152,7 @@
onRunning(const Name& name);
private:
-
- ValidatorConfig& m_validator;
+ Validator& m_validator;
map<Name, std::pair<RepoCommandResponse, bool> > m_processes;
int64_t m_interestNum;