ndn-handle: insert, insert status check command
Also, BaseHandle takes reference instead of pointer
Change-Id: Ife53fcebe52c99252e418a46d7361bae8e638bdf
diff --git a/ndn-handle/read-handle.hpp b/ndn-handle/read-handle.hpp
index 5af1fb3..1f5af86 100644
--- a/ndn-handle/read-handle.hpp
+++ b/ndn-handle/read-handle.hpp
@@ -11,12 +11,12 @@
namespace repo {
-class ReadHandle : BaseHandle
+class ReadHandle : public BaseHandle
{
public:
- ReadHandle(Face* face, StorageHandle* storageHandle)
- : BaseHandle(face, storageHandle)
+ ReadHandle(Face& face, StorageHandle& storageHandle, KeyChain keyChain, Scheduler& scheduler)
+ : BaseHandle(face, storageHandle, keyChain, scheduler)
{
}
@@ -25,7 +25,7 @@
private:
/**
- * @brief Read the name from backend storage
+ * @brief Read data from backend storage
*/
void
onInterest(const Name& prefix, const Interest& interest);