NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
pit-in-record.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
27
#define NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
28
29
#include "
pit-face-record.hpp
"
30
31
namespace
nfd
{
32
namespace
pit {
33
36
class
InRecord
:
public
FaceRecord
37
{
38
public
:
39
explicit
40
InRecord
(
Face
&
face
);
41
42
void
43
update
(
const
Interest
& interest);
44
45
const
Interest
&
46
getInterest
()
const
;
47
48
private
:
49
shared_ptr<const Interest> m_interest;
50
};
51
52
inline
const
Interest
&
53
InRecord::getInterest
()
const
54
{
55
BOOST_ASSERT(static_cast<bool>(m_interest));
56
return
*m_interest;
57
}
58
59
}
// namespace pit
60
}
// namespace nfd
61
62
#endif // NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
nfd::pit::InRecord::InRecord
InRecord(Face &face)
Definition:
pit-in-record.cpp:31
nfd::pit::InRecord::getInterest
const Interest & getInterest() const
Definition:
pit-in-record.hpp:53
nfd::pit::InRecord
contains information about an Interest from an incoming face
Definition:
pit-in-record.hpp:36
pit-face-record.hpp
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:42
Face
ndn Face
Definition:
face-impl.hpp:41
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
face
nfd::pit::FaceRecord
contains information about an Interest on an incoming or outgoing face
Definition:
pit-face-record.hpp:40
nfd::pit::InRecord::update
void update(const Interest &interest)
Definition:
pit-in-record.cpp:37
ndnSIM
NFD
daemon
table
pit-in-record.hpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11