cs: Implementing fake CS
refs #1129 Change-Id: I1aa2e9dcea5a8f298b254f13ad651ced22118471
This commit is contained in:
committed by
Alexander Afanasyev
parent
1a2a856733
commit
0fcb41e6de
@@ -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
|
||||
Reference in New Issue
Block a user