A wrapper class to instantiate and configure an NLSR object. More...
|NlsrRunner (ndn::Face &face, ConfParameter &confParam)|
|Instantiate, configure, and start the NLSR process. More...|
A wrapper class to instantiate and configure an NLSR object.
As its name suggests, this class is responsible for running NLSR. It creates an nlsr::ConfFileProcessor to read a configuration file and uses that to configure and then start an NLSR process. This class only exists to provide this functionality, and there is no special reliance of NLSR on this class.
Instantiate, configure, and start the NLSR process.
Each NlsrRunner is uniquely paired to the Face it's instantiated with. This is not a factory-type class, but a one-to-one relationship. If one wants to create multiple NLSR classes, multiple NLSR runners need to be created, too.
|ConfFileError||The configuration file cannot be processed. NLSR is not started.|