NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::rib::Service Class Reference

initializes and executes NFD-RIB service th

#include <service.hpp>

Inheritance diagram for nfd::rib::Service:
Collaboration diagram for nfd::rib::Service:

Public Member Functions

 Service (const ConfigSection &configSection, ndn::Face &face, ndn::KeyChain &keyChain)
 ~Service ()
 Destructor. More...
RibManagergetRibManager ()

Static Public Member Functions

static Serviceget ()
 Get a reference to the only instance of this class. More...

Detailed Description

initializes and executes NFD-RIB service thread

Only one instance of this class can be created at any time. After initialization, NFD-RIB instance can be started by running the global io_service.

Definition at line 52 of file service.hpp.

Constructor & Destructor Documentation

◆ Service()

nfd::rib::Service::Service ( const ConfigSection configSection,
ndn::Face face,
ndn::KeyChain &  keyChain 

◆ ~Service()

nfd::rib::Service::~Service ( )


Definition at line 87 of file service.cpp.

Member Function Documentation

◆ get()

◆ getRibManager()

RibManager& nfd::rib::Service::getRibManager ( )

Definition at line 71 of file service.hpp.

References ndn::security::v2::KeyChain, and Service().

Referenced by nfd::fw::SelfLearningStrategy::afterReceiveNack().

The documentation for this class was generated from the following files: