blob: d437dbd556db373b77b70c2b2fd094fa139c3cba [file] [log] [blame]
Junxiao Shi0fcb41e2014-01-24 10:29:43 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
7// XXX This is a fake CS that does not cache anything.
8
9#include "cs.hpp"
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080010
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070011namespace ndn {
12
13Cs::Cs()
14{
15}
16
17Cs::~Cs()
18{
19}
20
21bool
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080022Cs::insert(shared_ptr<Data> data)
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070023{
24 return false;
25}
26
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080027shared_ptr<Data>
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070028Cs::find(const Interest& interest)
29{
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080030 return shared_ptr<Data>();
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070031}
32
33
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080034} //namespace ndn