computes FibUpdates based on updates to the RIB and sends them to NFD More...
#include <rib/fib-updater.hpp>
Inheritance diagram for nfd::rib::FibUpdater:
Collaboration diagram for nfd::rib::FibUpdater:Classes | |
| class | Error |
Public Types | |
| typedef std::function< void(uint32_t code, const std::string &error)> | FibUpdateFailureCallback |
| typedef std::list< FibUpdate > | FibUpdateList |
| typedef std::function< void(RibUpdateList inheritedRoutes)> | FibUpdateSuccessCallback |
Public Member Functions | |
| FibUpdater (Rib &rib, ndn::nfd::Controller &controller) | |
| void | computeAndSendFibUpdates (const RibUpdateBatch &batch, const FibUpdateSuccessCallback &onSuccess, const FibUpdateFailureCallback &onFailure) |
| computes FibUpdates using the provided RibUpdateBatch and then sends the updates to NFD's FIB More... | |
computes FibUpdates based on updates to the RIB and sends them to NFD
Definition at line 41 of file fib-updater.hpp.
| typedef std::function<void(uint32_t code, const std::string& error)> nfd::rib::FibUpdater::FibUpdateFailureCallback |
Definition at line 58 of file fib-updater.hpp.
| typedef std::list<FibUpdate> nfd::rib::FibUpdater::FibUpdateList |
Definition at line 55 of file fib-updater.hpp.
| typedef std::function<void(RibUpdateList inheritedRoutes)> nfd::rib::FibUpdater::FibUpdateSuccessCallback |
Definition at line 57 of file fib-updater.hpp.
| nfd::rib::FibUpdater::FibUpdater | ( | Rib & | rib, |
| ndn::nfd::Controller & | controller | ||
| ) |
Definition at line 41 of file fib-updater.cpp.
| void nfd::rib::FibUpdater::computeAndSendFibUpdates | ( | const RibUpdateBatch & | batch, |
| const FibUpdateSuccessCallback & | onSuccess, | ||
| const FibUpdateFailureCallback & | onFailure | ||
| ) |
computes FibUpdates using the provided RibUpdateBatch and then sends the updates to NFD's FIB
Definition at line 49 of file fib-updater.cpp.