blob: 10f465ec8b950012202516313a9053e0d2596048 [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 Afanasyevc9765df2014-01-25 19:24:27 -080022Cs::insert(const Data &data)
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070023{
24 return false;
25}
26
Alexander Afanasyevc9765df2014-01-25 19:24:27 -080027const Data*
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070028Cs::find(const Interest& interest)
29{
Alexander Afanasyevc9765df2014-01-25 19:24:27 -080030 return 0;
Junxiao Shi0fcb41e2014-01-24 10:29:43 -070031}
32
33
Alexander Afanasyevb927a3a2014-01-24 10:41:47 -080034} //namespace ndn