represents the Interest Table More...
#include <pit.hpp>


Classes | |
| class | const_iterator |
Public Member Functions | |
| Pit (NameTree &nameTree) | |
| size_t | size () const |
| shared_ptr< pit::Entry > | find (const Interest &interest) const |
| finds a PIT entry for Interest More... | |
| std::pair< shared_ptr< pit::Entry >, bool > | insert (const Interest &interest) |
| inserts a PIT entry for Interest More... | |
| pit::DataMatchResult | findAllDataMatches (const Data &data) const |
| performs a Data match More... | |
| void | erase (shared_ptr< pit::Entry > pitEntry) |
| erases a PIT Entry More... | |
| const_iterator | begin () const |
| returns an iterator pointing to the first PIT entry More... | |
| const_iterator | end () const |
| returns an iterator referring to the past-the-end PIT entry More... | |
|
explicit |
Definition at line 54 of file pit.cpp.
References ndn::Interest::getName(), ndn::Name::getPrefix(), ndn::Interest::getSelectors(), nfd::NameTree::lookup(), ndn::Name::npos, and ndn::Name::size().
|
inline |
Definition at line 160 of file pit.hpp.
Referenced by nfd::ForwarderStatusManager::ForwarderStatusManager(), and nfd::Pit::const_iterator::operator++().
|
inline |
finds a PIT entry for Interest
| interest | the Interest |
Definition at line 166 of file pit.hpp.
Referenced by nfd::Forwarder::startProcessNack().
|
inline |
inserts a PIT entry for Interest
| interest | the Interest; must be created with make_shared |
Definition at line 172 of file pit.hpp.
Referenced by nfd::Forwarder::startProcessNack().
| pit::DataMatchResult nfd::Pit::findAllDataMatches | ( | const Data & | data | ) | const |
performs a Data match
Definition at line 97 of file pit.cpp.
References nfd::NameTree::findAllMatches(), and ndn::Data::getName().
Referenced by nfd::Forwarder::startProcessNack().
| void nfd::Pit::erase | ( | shared_ptr< pit::Entry > | pitEntry | ) |
erases a PIT Entry
Definition at line 114 of file pit.cpp.
References nfd::NameTree::eraseEntryIfEmpty().
Referenced by nfd::Forwarder::startProcessNack().
| Pit::const_iterator nfd::Pit::begin | ( | ) | const |
returns an iterator pointing to the first PIT entry
Definition at line 126 of file pit.cpp.
References nfd::NameTree::fullEnumerate().
|
inline |