NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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; -*- */
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
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:45
nfd::pit::InRecord::InRecord
InRecord(shared_ptr< Face > face)
Definition:
pit-in-record.cpp:30
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: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 Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12