Contains information about an Interest on an incoming or outgoing face.
More...
#include <daemon/table/pit-entry.hpp>
Contains information about an Interest on an incoming or outgoing face.
- Note
- This class is an implementation detail to extract common functionality of InRecord and OutRecord.
Definition at line 53 of file pit-entry.hpp.
◆ FaceRecord()
nfd::pit::FaceRecord::FaceRecord |
( |
Face & |
face | ) |
|
|
inlineexplicit |
◆ clearStrategyInfo()
void nfd::StrategyInfoHost::clearStrategyInfo |
( |
| ) |
|
|
inlineinherited |
◆ eraseStrategyInfo()
template<typename T >
size_t nfd::StrategyInfoHost::eraseStrategyInfo |
( |
| ) |
|
|
inlineinherited |
Erase a StrategyInfo item.
- Template Parameters
-
- Returns
- number of items erased
Definition at line 82 of file strategy-info-host.hpp.
◆ getExpiry()
time::steady_clock::time_point nfd::pit::FaceRecord::getExpiry |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFace()
Face& nfd::pit::FaceRecord::getFace |
( |
| ) |
const |
|
inlinenoexcept |
◆ getLastNonce()
Interest::Nonce nfd::pit::FaceRecord::getLastNonce |
( |
| ) |
const |
|
inlinenoexcept |
◆ getLastRenewed()
time::steady_clock::time_point nfd::pit::FaceRecord::getLastRenewed |
( |
| ) |
const |
|
inlinenoexcept |
◆ getStrategyInfo()
template<typename T >
T* nfd::StrategyInfoHost::getStrategyInfo |
( |
| ) |
const |
|
inlineinherited |
Get a StrategyInfo item.
- Template Parameters
-
- Returns
- an existing StrategyInfo item of type T, or nullptr if it does not exist
Definition at line 46 of file strategy-info-host.hpp.
◆ insertStrategyInfo()
template<typename T , typename ... A>
std::pair<T*, bool> nfd::StrategyInfoHost::insertStrategyInfo |
( |
A &&... |
args | ) |
|
|
inlineinherited |
Insert a StrategyInfo item.
- Template Parameters
-
- Returns
- a new or existing StrategyInfo item of type T, and true for new item, false for existing item
Definition at line 64 of file strategy-info-host.hpp.
◆ update()
void nfd::pit::FaceRecord::update |
( |
const Interest & |
interest | ) |
|
Updates lastNonce, lastRenewed, expiry fields.
Definition at line 33 of file pit-entry.cpp.