NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
pit-in-record.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
pit-in-record.hpp
"
27
28
namespace
nfd
{
29
namespace
pit {
30
31
InRecord::InRecord
(
Face
&
face
)
32
:
FaceRecord
(face)
33
{
34
}
35
36
void
37
InRecord::update
(
const
Interest
& interest)
38
{
39
this->
FaceRecord::update
(interest);
40
m_interest =
const_cast<
Interest
&
>
(interest).shared_from_this();
41
}
42
43
}
// namespace pit
44
}
// namespace nfd
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
pit-in-record.hpp
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
nfd::pit::FaceRecord::update
void update(const Interest &interest)
updates lastNonce, lastRenewed, expiry fields
Definition:
pit-face-record.cpp:40
ndnSIM
NFD
daemon
table
pit-in-record.cpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13