main class of NFD More...
#include <forwarder.hpp>
Public Member Functions | |
Forwarder () | |
~Forwarder () | |
const ForwarderCounters & | getCounters () const |
FaceTable & | getFaceTable () |
Face * | getFace (FaceId id) const |
get existing Face More... | |
void | addFace (shared_ptr< Face > face) |
add new Face More... | |
fw::UnsolicitedDataPolicy & | getUnsolicitedDataPolicy () const |
void | setUnsolicitedDataPolicy (unique_ptr< fw::UnsolicitedDataPolicy > policy) |
void | startProcessInterest (Face &face, const Interest &interest) |
start incoming Interest processing More... | |
void | startProcessData (Face &face, const Data &data) |
start incoming Data processing More... | |
void | startProcessNack (Face &face, const lp::Nack &nack) |
start incoming Nack processing More... | |
NameTree & | getNameTree () |
Fib & | getFib () |
Pit & | getPit () |
Cs & | getCs () |
Measurements & | getMeasurements () |
StrategyChoice & | getStrategyChoice () |
DeadNonceList & | getDeadNonceList () |
NetworkRegionTable & | getNetworkRegionTable () |
Friends | |
class | fw::Strategy |
main class of NFD
Forwarder owns all faces and tables, and implements forwarding pipelines.
Definition at line 52 of file forwarder.hpp.
nfd::Forwarder::Forwarder | ( | ) |
Definition at line 39 of file forwarder.cpp.
|
default |
|
inline |
|
inline |
Definition at line 61 of file forwarder.hpp.
|
inline |
Definition at line 147 of file forwarder.hpp.
|
inline |
Definition at line 165 of file forwarder.hpp.
|
inline |
get existing Face
shortcut to .getFaceTable().get(face)
Definition at line 78 of file forwarder.hpp.
|
inline |
Definition at line 68 of file forwarder.hpp.
|
inline |
Definition at line 135 of file forwarder.hpp.
|
inline |
Definition at line 153 of file forwarder.hpp.
|
inline |
Definition at line 129 of file forwarder.hpp.
|
inline |
Definition at line 171 of file forwarder.hpp.
|
inline |
Definition at line 141 of file forwarder.hpp.
|
inline |
Definition at line 159 of file forwarder.hpp.
|
inline |
Definition at line 94 of file forwarder.hpp.
|
inline |
Definition at line 100 of file forwarder.hpp.
void nfd::Forwarder::startProcessData | ( | Face & | face, |
const Data & | data | ||
) |
start incoming Data processing
face | face on which Data is received |
data | the incoming Data, must be created with make_shared |
Definition at line 90 of file forwarder.cpp.
void nfd::Forwarder::startProcessInterest | ( | Face & | face, |
const Interest & | interest | ||
) |
start incoming Interest processing
face | face on which Interest is received |
interest | the incoming Interest, must be created with make_shared |
Definition at line 71 of file forwarder.cpp.
void nfd::Forwarder::startProcessNack | ( | Face & | face, |
const lp::Nack & | nack | ||
) |
start incoming Nack processing
face | face on which Nack is received |
nack | the incoming Nack, must be created with make_shared |
Definition at line 99 of file forwarder.cpp.
|
friend |
Definition at line 297 of file forwarder.hpp.