NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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::face::Face
generalization of a network interface
Definition:
face.hpp:67
nfd::pit::InRecord
contains information about an Interest from an incoming face
Definition:
pit-in-record.hpp:36
pit-face-record.hpp
nfd::pit::InRecord::getInterest
const Interest & getInterest() const
Definition:
pit-in-record.hpp:53
ndn::Interest
Represents an Interest packet.
Definition:
interest.hpp:42
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 Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14