contains information about an Interest toward an outgoing face
More...
#include <daemon/table/pit-out-record.hpp>
contains information about an Interest toward an outgoing face
Definition at line 36 of file pit-out-record.hpp.
nfd::pit::OutRecord::OutRecord |
( |
Face & |
face | ) |
|
|
explicit |
void nfd::pit::OutRecord::clearIncomingNack |
( |
| ) |
|
|
inline |
clears last NACK
This is invoked in outgoing Interest pipeline. This invalidates any pointer previously returned by
.getIncomingNack() .
Definition at line 70 of file pit-out-record.hpp.
void nfd::StrategyInfoHost::clearStrategyInfo |
( |
| ) |
|
|
inherited |
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.
time::steady_clock::TimePoint nfd::pit::FaceRecord::getExpiry |
( |
| ) |
const |
|
inlineinherited |
Face & nfd::pit::FaceRecord::getFace |
( |
| ) |
const |
|
inlineinherited |
const lp::NackHeader* nfd::pit::OutRecord::getIncomingNack |
( |
| ) |
const |
|
inline |
- Returns
- last NACK returned by
getFace()
A nullptr return value means the Interest is still pending or has timed out. A non-null return value means the last outgoing Interest has been NACKed.
Definition at line 48 of file pit-out-record.hpp.
uint32_t nfd::pit::FaceRecord::getLastNonce |
( |
| ) |
const |
|
inlineinherited |
time::steady_clock::TimePoint nfd::pit::FaceRecord::getLastRenewed |
( |
| ) |
const |
|
inlineinherited |
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 44 of file strategy-info-host.hpp.
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 63 of file strategy-info-host.hpp.
bool nfd::pit::OutRecord::setIncomingNack |
( |
const lp::Nack & |
nack | ) |
|
sets a NACK received from getFace()
- Returns
- whether incoming NACK is accepted
This is invoked in incoming NACK pipeline. An incoming NACK is accepted if its Nonce matches getLastNonce()
. If accepted, nack.getHeader()
will be copied, and any pointer previously returned by
.getIncomingNack() .
Definition at line 37 of file pit-out-record.cpp.
void nfd::pit::FaceRecord::update |
( |
const Interest & |
interest | ) |
|
|
inherited |