blob: c174e028d273037d6a6d7605d4dfa5ebd0181fec [file] [log] [blame]
akmhoque95b7c8c2014-01-31 15:53:09 -06001#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
8
9using namespace ndn;
10using namespace std;
11
12class nlsr;
13
14class DataManager
15{
16public:
akmhoquea8cd6b92014-01-31 20:13:26 -060017 void processContent(nlsr& pnlsr,
akmhoque95b7c8c2014-01-31 15:53:09 -060018 const ndn::ptr_lib::shared_ptr<const ndn::Interest> &interest,
19 const ndn::ptr_lib::shared_ptr<ndn::Data> &data);
akmhoquea8cd6b92014-01-31 20:13:26 -060020 void processContentInfo(nlsr& pnlsr, string& dataName,
21 string& dataContent);
akmhoque95b7c8c2014-01-31 15:53:09 -060022private:
23
24};
25
26
27#endif