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-out-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_OUT_RECORD_HPP
27
#define NFD_DAEMON_TABLE_PIT_OUT_RECORD_HPP
28
29
#include "
pit-face-record.hpp
"
30
31
namespace
nfd
{
32
namespace
pit {
33
36
class
OutRecord
:
public
FaceRecord
37
{
38
public
:
39
explicit
40
OutRecord
(
Face
&
face
);
41
47
const
lp::NackHeader
*
48
getIncomingNack
()
const
49
{
50
return
m_incomingNack.get();
51
}
52
61
bool
62
setIncomingNack
(
const
lp::Nack
& nack);
63
69
void
70
clearIncomingNack
()
71
{
72
m_incomingNack.reset();
73
}
74
75
private
:
76
unique_ptr<lp::NackHeader> m_incomingNack;
77
};
78
79
}
// namespace pit
80
}
// namespace nfd
81
82
#endif // NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
nfd::pit::OutRecord::getIncomingNack
const lp::NackHeader * getIncomingNack() const
Definition:
pit-out-record.hpp:48
nfd::pit::OutRecord::clearIncomingNack
void clearIncomingNack()
clears last NACK
Definition:
pit-out-record.hpp:70
pit-face-record.hpp
ndn::lp::Nack
represents a Network Nack
Definition:
nack.hpp:40
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::OutRecord::OutRecord
OutRecord(Face &face)
Definition:
pit-out-record.cpp:31
nfd::pit::OutRecord::setIncomingNack
bool setIncomingNack(const lp::Nack &nack)
sets a NACK received from getFace()
Definition:
pit-out-record.cpp:37
nfd::pit::OutRecord
contains information about an Interest toward an outgoing face
Definition:
pit-out-record.hpp:36
ndn::lp::NackHeader
represents a Network NACK header
Definition:
nack-header.hpp:59
ndnSIM
NFD
daemon
table
pit-out-record.hpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11