NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 (shared_ptr< Face > face)
 
void update (const Interest &interest)
 
const Interest & getInterest () const
 
- Public Member Functions inherited from nfd::pit::FaceRecord
 FaceRecord (shared_ptr< Face > face)
 
shared_ptr< 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 >
shared_ptr< T > getStrategyInfo () const
 get a StrategyInfo item More...
 
template<typename T >
void setStrategyInfo (shared_ptr< T > strategyInfo)
 set a StrategyInfo item More...
 
template<typename T , typename... A>
shared_ptr< T > getOrCreateStrategyInfo (A &&...args)
 get or create 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 37 of file pit-in-record.hpp.

Constructor & Destructor Documentation

nfd::pit::InRecord::InRecord ( shared_ptr< Face face)
explicit

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

Member Function Documentation

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

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

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

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

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


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