blob: 70089dc4ba8a3438e15c6283d9ec72a6d9052dab [file] [log] [blame]
#include<iostream>
#include<cstdlib>
#include "nlsr.hpp"
#include "nlsr_dm.hpp"
#include "nlsr_tokenizer.hpp"
using namespace std;
using namespace ndn;
void
DataManager::processContent(const nlsr& pnlsr,
const ndn::ptr_lib::shared_ptr<const ndn::Interest> &interest,
const ndn::ptr_lib::shared_ptr<ndn::Data> &data)
{
cout << "I: " << interest->toUri() << endl;
cout << "D: " << data->getName().toUri() << endl;
cout << "Data Content: " << data->getContent() << endl;
}