akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 1 | #ifndef NLSR_DM_HPP |
2 | #define NLSR_DM_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 | |||||
akmhoque | b1710aa | 2014-02-19 17:13:36 -0600 | [diff] [blame^] | 8 | namespace nlsr { |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 9 | |
10 | using namespace ndn; | ||||
11 | using namespace std; | ||||
12 | |||||
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame] | 13 | class Nlsr; |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 14 | |
15 | class DataManager | ||||
16 | { | ||||
17 | public: | ||||
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame] | 18 | void processContent(Nlsr& pnlsr, const ndn::Interest &interest, |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 19 | const ndn::Data& data); |
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame] | 20 | void processContentInfo(Nlsr& pnlsr, string& dataName, |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 21 | string& dataContent); |
22 | private: | ||||
23 | |||||
24 | }; | ||||
25 | |||||
akmhoque | b1710aa | 2014-02-19 17:13:36 -0600 | [diff] [blame^] | 26 | }//namespace nlsr |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 27 | #endif |