Junxiao Shi | 0fcb41e | 2014-01-24 10:29:43 -0700 | [diff] [blame] | 1 | /* -*- 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 Afanasyev | b927a3a | 2014-01-24 10:41:47 -0800 | [diff] [blame] | 10 | |
Junxiao Shi | 0fcb41e | 2014-01-24 10:29:43 -0700 | [diff] [blame] | 11 | namespace ndn { |
12 | |||||
13 | Cs::Cs() | ||||
14 | { | ||||
15 | } | ||||
16 | |||||
17 | Cs::~Cs() | ||||
18 | { | ||||
19 | } | ||||
20 | |||||
21 | bool | ||||
Alexander Afanasyev | fd603ee | 2014-01-26 11:03:03 -0800 | [diff] [blame] | 22 | Cs::insert(const Data& data) |
Junxiao Shi | 0fcb41e | 2014-01-24 10:29:43 -0700 | [diff] [blame] | 23 | { |
24 | return false; | ||||
25 | } | ||||
26 | |||||
Alexander Afanasyev | c9765df | 2014-01-25 19:24:27 -0800 | [diff] [blame] | 27 | const Data* |
Junxiao Shi | 0fcb41e | 2014-01-24 10:29:43 -0700 | [diff] [blame] | 28 | Cs::find(const Interest& interest) |
29 | { | ||||
Alexander Afanasyev | c9765df | 2014-01-25 19:24:27 -0800 | [diff] [blame] | 30 | return 0; |
Junxiao Shi | 0fcb41e | 2014-01-24 10:29:43 -0700 | [diff] [blame] | 31 | } |
32 | |||||
33 | |||||
Alexander Afanasyev | b927a3a | 2014-01-24 10:41:47 -0800 | [diff] [blame] | 34 | } //namespace ndn |