|
NLSR 24.08-21-g73a96d2c
|
NLSR-to-sync interaction point. More...
#include <sync-logic-handler.hpp>
Collaboration diagram for nlsr::SyncLogicHandler:Classes | |
| class | Error |
Public Member Functions | |
| SyncLogicHandler (ndn::Face &face, ndn::KeyChain &keyChain, const SyncLogicOptions &opts) | |
| void | publishRoutingUpdate (Lsa::Type type, uint64_t seqNo) |
| Instruct ChronoSync to publish an update. | |
Public Attributes | |
| OnSyncUpdate | onSyncUpdate |
NLSR-to-sync interaction point.
This class serves as the abstraction for the syncing portion of NLSR and its components.
Definition at line 56 of file sync-logic-handler.hpp.
| nlsr::SyncLogicHandler::SyncLogicHandler | ( | ndn::Face & | face, |
| ndn::KeyChain & | keyChain, | ||
| const SyncLogicOptions & | opts | ||
| ) |
Definition at line 33 of file sync-logic-handler.cpp.
| void nlsr::SyncLogicHandler::publishRoutingUpdate | ( | Lsa::Type | type, |
| uint64_t | seqNo | ||
| ) |
Instruct ChronoSync to publish an update.
This function instructs sync to push an update into the network, based on whatever the state of the sequencing manager is when this is called. Since each ChronoSync instance maintains its own PIT, doing this satisfies those interests so that other routers know a sync update is available.
Definition at line 75 of file sync-logic-handler.cpp.
| OnSyncUpdate nlsr::SyncLogicHandler::onSyncUpdate |
Definition at line 91 of file sync-logic-handler.hpp.