NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::pit::InRecord Class Reference

contains information about an Interest from an incoming face More...

#include <pit-in-record.hpp>

Inheritance diagram for nfd::pit::InRecord:
Collaboration diagram for nfd::pit::InRecord:

Public Member Functions

 InRecord (Face &face)
void update (const Interest &interest)
const InterestgetInterest () const
- Public Member Functions inherited from nfd::pit::FaceRecord
 FaceRecord (Face &face)
FacegetFace () const
uint32_t getLastNonce () const
time::steady_clock::TimePoint getLastRenewed () const
time::steady_clock::TimePoint getExpiry () const
 gives the time point this record expires More...
void update (const Interest &interest)
 updates lastNonce, lastRenewed, expiry fields More...
- Public Member Functions inherited from nfd::StrategyInfoHost
template<typename T >
T * getStrategyInfo () const
 get a StrategyInfo item More...
template<typename T , typename ... A>
std::pair< T *, bool > insertStrategyInfo (A &&... args)
 insert a StrategyInfo item More...
template<typename T >
size_t eraseStrategyInfo ()
 erase a StrategyInfo item More...
void clearStrategyInfo ()
 clear all StrategyInfo items More...

Detailed Description

contains information about an Interest from an incoming face

Definition at line 36 of file pit-in-record.hpp.

Constructor & Destructor Documentation

◆ InRecord()

nfd::pit::InRecord::InRecord ( Face face)

Definition at line 31 of file pit-in-record.cpp.

Member Function Documentation

◆ update()

void nfd::pit::InRecord::update ( const Interest interest)

Definition at line 37 of file pit-in-record.cpp.

References nfd::pit::FaceRecord::update().

◆ getInterest()

const Interest & nfd::pit::InRecord::getInterest ( ) const

Definition at line 53 of file pit-in-record.hpp.

The documentation for this class was generated from the following files: