NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pit-in-record.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#include "
pit-in-record.hpp
"
26
27
namespace
nfd {
28
namespace
pit {
29
30
InRecord::InRecord
(shared_ptr<Face> face)
31
:
FaceRecord
(face)
32
{
33
}
34
35
void
36
InRecord::update
(
const
Interest& interest)
37
{
38
this->
FaceRecord::update
(interest);
39
m_interest =
const_cast<
Interest&
>
(interest).shared_from_this();
40
}
41
42
}
// namespace pit
43
}
// namespace nfd
pit-in-record.hpp
nfd::pit::InRecord::InRecord
InRecord(shared_ptr< Face > face)
Definition:
pit-in-record.cpp:30
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:36
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 Feb 18 2015 16:31:16 for ndnSIM by
1.8.7