nlsr::Nlsr Class Reference

#include <nlsr.hpp>

+ Collaboration diagram for nlsr::Nlsr:

Classes

class  Error
 

Public Types

using FetchDatasetCallback = std::function< void(const std::vector< ndn::nfd::FaceStatus > &)>
 
using FetchDatasetTimeoutCallback = std::function< void(uint32_t, const std::string &)>
 

Public Member Functions

 Nlsr (ndn::Face &face, ndn::KeyChain &keyChain, ConfParameter &confParam)
 
FibgetFib ()
 
LsdbgetLsdb ()
 

Static Public Attributes

static const ndn::Name LOCALHOST_PREFIX {"/localhost/nlsr"}
 

Detailed Description

Definition at line 53 of file nlsr.hpp.

Member Typedef Documentation

◆ FetchDatasetCallback

using nlsr::Nlsr::FetchDatasetCallback = std::function<void(const std::vector<ndn::nfd::FaceStatus>&)>

Definition at line 56 of file nlsr.hpp.

◆ FetchDatasetTimeoutCallback

using nlsr::Nlsr::FetchDatasetTimeoutCallback = std::function<void(uint32_t, const std::string&)>

Definition at line 57 of file nlsr.hpp.

Constructor & Destructor Documentation

◆ Nlsr()

nlsr::Nlsr::Nlsr ( ndn::Face &  face,
ndn::KeyChain &  keyChain,
ConfParameter confParam 
)

Definition at line 37 of file nlsr.cpp.

Member Function Documentation

◆ getFib()

Fib& nlsr::Nlsr::getFib ( )
inline

Definition at line 74 of file nlsr.hpp.

◆ getLsdb()

Lsdb& nlsr::Nlsr::getLsdb ( )
inline

Definition at line 68 of file nlsr.hpp.

Member Data Documentation

◆ LOCALHOST_PREFIX

const ndn::Name nlsr::Nlsr::LOCALHOST_PREFIX {"/localhost/nlsr"}
inlinestatic

Definition at line 161 of file nlsr.hpp.