main class of NFD More...
#include <forwarder.hpp>
Public Member Functions | |
Forwarder () | |
~Forwarder () | |
const ForwarderCounters & | getCounters () const |
FaceTable & | getFaceTable () |
shared_ptr< Face > | getFace (FaceId id) const |
get existing Face More... | |
void | addFace (shared_ptr< Face > face) |
add new Face More... | |
void | onInterest (Face &face, const Interest &interest) |
void | onData (Face &face, const Data &data) |
NameTree & | getNameTree () |
Fib & | getFib () |
Pit & | getPit () |
Cs & | getCs () |
Measurements & | getMeasurements () |
StrategyChoice & | getStrategyChoice () |
DeadNonceList & | getDeadNonceList () |
void | setCsFromNdnSim (ns3::Ptr< ns3::ndn::ContentStore > cs) |
Public Attributes | |
signal::Signal< Forwarder, pit::Entry, Face, Data > | beforeSatisfyInterest |
trigger before PIT entry is satisfied More... | |
signal::Signal< Forwarder, pit::Entry > | beforeExpirePendingInterest |
trigger before PIT entry expires More... | |
Friends | |
class | fw::Strategy |
main class of NFD
Forwarder owns all faces and tables, and implements forwarding pipelines.
Definition at line 54 of file forwarder.hpp.
nfd::Forwarder::Forwarder | ( | ) |
Definition at line 42 of file forwarder.cpp.
References nfd::FaceTable::addReserved(), nfd::FACEID_CONTENT_STORE, getFaceTable(), and nfd::fw::installStrategies().
nfd::Forwarder::~Forwarder | ( | ) |
Definition at line 54 of file forwarder.cpp.
|
inline |
add new Face
shortcut to .getFaceTable().add(face)
Definition at line 249 of file forwarder.hpp.
References nfd::FaceTable::add().
|
inline |
Definition at line 231 of file forwarder.hpp.
|
inline |
Definition at line 285 of file forwarder.hpp.
|
inline |
Definition at line 303 of file forwarder.hpp.
get existing Face
shortcut to .getFaceTable().get(face)
Definition at line 243 of file forwarder.hpp.
References nfd::FaceTable::get().
Referenced by nfd::fw::Strategy::getFace().
|
inline |
Definition at line 237 of file forwarder.hpp.
Referenced by Forwarder(), and nfd::fw::Strategy::getFaceTable().
|
inline |
Definition at line 273 of file forwarder.hpp.
|
inline |
Definition at line 291 of file forwarder.hpp.
|
inline |
Definition at line 267 of file forwarder.hpp.
|
inline |
Definition at line 279 of file forwarder.hpp.
|
inline |
Definition at line 297 of file forwarder.hpp.
Referenced by nfd::fw::installStrategy().
|
inline |
Definition at line 261 of file forwarder.hpp.
|
inline |
Definition at line 255 of file forwarder.hpp.
|
inline |
Definition at line 309 of file forwarder.hpp.
|
friend |
Definition at line 227 of file forwarder.hpp.
signal::Signal<Forwarder, pit::Entry> nfd::Forwarder::beforeExpirePendingInterest |
trigger before PIT entry expires
Definition at line 124 of file forwarder.hpp.
signal::Signal<Forwarder, pit::Entry, Face, Data> nfd::Forwarder::beforeSatisfyInterest |
trigger before PIT entry is satisfied
Definition at line 119 of file forwarder.hpp.