Contains information about an Interest from an incoming face. More...
#include <pit-in-record.hpp>
Public Member Functions | |
const Interest & | getInterest () const |
void | update (const Interest &interest) |
Public Member Functions inherited from nfd::pit::FaceRecord | |
FaceRecord (Face &face) | |
Face & | getFace () 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... | |
Contains information about an Interest from an incoming face.
Definition at line 36 of file pit-in-record.hpp.
|
inline |
Definition at line 42 of file pit-in-record.hpp.
References 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().