Separate InterestManger and DataManager from nlsr
diff --git a/nlsr_im.hpp b/nlsr_im.hpp
new file mode 100644
index 0000000..7e3eb9c
--- /dev/null
+++ b/nlsr_im.hpp
@@ -0,0 +1,34 @@
+#ifndef NLSR_IM_HPP
+#define NLSR_IM_HPP
+
+#include <ndn-cpp-dev/face.hpp>
+#include <ndn-cpp-dev/security/key-chain.hpp>
+#include <ndn-cpp-dev/util/scheduler.hpp>
+
+
+using namespace ndn;
+using namespace std;
+
+class nlsr;
+
+class interestManager{
+public:
+ interestManager()
+ {
+ }
+ void processInterest(nlsr& pnlsr, const ptr_lib::shared_ptr<const Name> &name,
+ const ptr_lib::shared_ptr<const Interest> &interest);
+ void processInterestTimedOut(nlsr& pnlsr,
+ const ndn::ptr_lib::shared_ptr<const ndn::Interest> &interest);
+ void expressInterest(nlsr& pnlsr,const string& interestNamePrefix, int scope,
+ int seconds);
+ void sendScheduledInfoInterest(nlsr& pnlsr, int seconds);
+ void scheduleInfoInterest(nlsr& pnlsr, int seconds);
+
+private:
+
+
+};
+
+
+#endif