A class to house all the configuration parameters for NLSR. More...
#include <conf-parameter.hpp>
Public Member Functions | |
| ConfParameter (ndn::Face &face, const std::string &confFileName="nlsr.conf") | |
| const std::string & | getConfFileName () |
| void | setNetwork (const ndn::Name &networkName) |
| const ndn::Name & | getNetwork () const |
| void | setRouterName (const ndn::Name &routerName) |
| const ndn::Name & | getRouterName () const |
| void | setSiteName (const ndn::Name &siteName) |
| const ndn::Name & | getSiteName () const |
| void | buildRouterPrefix () |
| const ndn::Name & | getRouterPrefix () const |
| const ndn::Name & | getSyncPrefix () const |
| const ndn::Name & | getLsaPrefix () const |
| void | setLsaRefreshTime (uint32_t lrt) |
| uint32_t | getSyncProtocol () const |
| void | setSyncProtocol (int32_t syncProtocol) |
| uint32_t | getLsaRefreshTime () const |
| void | setLsaInterestLifetime (const ndn::time::seconds &lifetime) |
| const ndn::time::seconds & | getLsaInterestLifetime () const |
| void | setAdjLsaBuildInterval (uint32_t interval) |
| uint32_t | getAdjLsaBuildInterval () const |
| void | setFirstHelloInterval (uint32_t interval) |
| uint32_t | getFirstHelloInterval () const |
| void | setRoutingCalcInterval (uint32_t interval) |
| uint32_t | getRoutingCalcInterval () const |
| void | setRouterDeadInterval (uint32_t rdt) |
| uint32_t | getRouterDeadInterval () const |
| void | setFaceDatasetFetchTries (uint32_t count) |
| uint32_t | getFaceDatasetFetchTries () const |
| void | setFaceDatasetFetchInterval (uint32_t interval) |
| const ndn::time::seconds | getFaceDatasetFetchInterval () const |
| void | setInterestRetryNumber (uint32_t irn) |
| uint32_t | getInterestRetryNumber () const |
| void | setInterestResendTime (uint32_t irt) |
| uint32_t | getInterestResendTime () const |
| uint32_t | getInfoInterestInterval () const |
| void | setInfoInterestInterval (uint32_t iii) |
| void | setHyperbolicState (int32_t ihc) |
| int32_t | getHyperbolicState () const |
| bool | setCorR (double cr) |
| double | getCorR () const |
| void | setCorTheta (const std::vector< double > &ct) |
| std::vector< double > | getCorTheta () const |
| void | setMaxFacesPerPrefix (uint32_t mfpp) |
| uint32_t | getMaxFacesPerPrefix () const |
| void | setStateFileDir (const std::string &ssfd) |
| const std::string & | getStateFileDir () const |
| void | setConfFileNameDynamic (const std::string &confFileDynamic) |
| const std::string & | getConfFileNameDynamic () const |
| void | setSyncInterestLifetime (uint32_t syncInterestLifetime) |
| const ndn::time::milliseconds & | getSyncInterestLifetime () const |
| AdjacencyList & | getAdjacencyList () |
| NamePrefixList & | getNamePrefixList () |
| ndn::security::ValidatorConfig & | getValidator () |
| ndn::security::ValidatorConfig & | getPrefixUpdateValidator () |
| security::CertificateStore & | getCertStore () |
| void | writeLog () |
| Dump the current state of all attributes to the log. More... | |
A class to house all the configuration parameters for NLSR.
This class is conceptually a singleton (but not mechanically) which is just a collection of attributes that serve as a separation-of-data for NLSR's configuration variables. NLSR refers to an instance of this class for all its configuration parameters. This object is typically populated by a ConfFileProcessor reading a configuration file.
Definition at line 137 of file conf-parameter.hpp.
| nlsr::ConfParameter::ConfParameter | ( | ndn::Face & | face, |
| const std::string & | confFileName = "nlsr.conf" |
||
| ) |
Definition at line 34 of file conf-parameter.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 424 of file conf-parameter.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 277 of file conf-parameter.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 436 of file conf-parameter.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void nlsr::ConfParameter::setNetwork | ( | const ndn::Name & | networkName | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void nlsr::ConfParameter::writeLog | ( | ) |
Dump the current state of all attributes to the log.
Definition at line 59 of file conf-parameter.cpp.