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

const InterestgetInterest () const
 
void update (const Interest &interest)
 
- Public Member Functions inherited from nfd::pit::FaceRecord
 FaceRecord (Face &face)
 
FacegetFace () const
 
Interest::Nonce getLastNonce () const
 
time::steady_clock::TimePoint getLastRenewed () const
 
time::steady_clock::TimePoint getExpiry () const
 Returns the time point at which 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.

Member Function Documentation

◆ getInterest()

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

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

References update().

◆ update()

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

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

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

Referenced by getInterest().


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