blob: 7e3eb9c1c17e4f231a0a4209ae92a95628fd678a [file] [log] [blame]
akmhoque95b7c8c2014-01-31 15:53:09 -06001#ifndef NLSR_IM_HPP
2#define NLSR_IM_HPP
3
4#include <ndn-cpp-dev/face.hpp>
5#include <ndn-cpp-dev/security/key-chain.hpp>
6#include <ndn-cpp-dev/util/scheduler.hpp>
7
8
9using namespace ndn;
10using namespace std;
11
12class nlsr;
13
14class interestManager{
15public:
16 interestManager()
17 {
18 }
19 void processInterest(nlsr& pnlsr, const ptr_lib::shared_ptr<const Name> &name,
20 const ptr_lib::shared_ptr<const Interest> &interest);
21 void processInterestTimedOut(nlsr& pnlsr,
22 const ndn::ptr_lib::shared_ptr<const ndn::Interest> &interest);
23 void expressInterest(nlsr& pnlsr,const string& interestNamePrefix, int scope,
24 int seconds);
25 void sendScheduledInfoInterest(nlsr& pnlsr, int seconds);
26 void scheduleInfoInterest(nlsr& pnlsr, int seconds);
27
28private:
29
30
31};
32
33
34#endif