cs: Implementing fake CS

refs #1129

Change-Id: I1aa2e9dcea5a8f298b254f13ad651ced22118471
This commit is contained in:
Junxiao Shi
2014-01-24 10:29:43 -07:00
committed by Alexander Afanasyev
parent 1a2a856733
commit 0fcb41e6de
5 changed files with 134 additions and 3 deletions
+33
View File
@@ -0,0 +1,33 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (C) 2014 Named Data Networking Project
* See COPYING for copyright and distribution information.
*/
// XXX This is a fake CS that does not cache anything.
#include "cs.hpp"
namespace ndn {
Cs::Cs()
{
}
Cs::~Cs()
{
}
bool
Cs::insert(boost::shared_ptr<Data> data)
{
return false;
}
boost::shared_ptr<cs::Entry>
Cs::find(const Interest& interest)
{
return boost::shared_ptr<cs::Entry>();
}
};//namespace ndn