NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nfd::FaceManager Class Reference

#include <face-manager.hpp>

Inheritance diagram for nfd::FaceManager:
Collaboration diagram for nfd::FaceManager:

Classes

class  Error
 

Public Member Functions

 FaceManager (FaceTable &faceTable, shared_ptr< InternalFace > face, ndn::KeyChain &keyChain)
 
virtual ~FaceManager ()
 
void setConfigFile (ConfigFile &configFile)
 Subscribe to a face management section(s) for the config file. More...
 
void onFaceRequest (const Interest &request)
 
- Public Member Functions inherited from nfd::ManagerBase
 ManagerBase (shared_ptr< InternalFace > face, const std::string &privilege, ndn::KeyChain &keyChain)
 
virtual ~ManagerBase ()
 
void onCommandValidationFailed (const shared_ptr< const Interest > &command, const std::string &error)
 

Additional Inherited Members

- Protected Member Functions inherited from nfd::ManagerBase
void setResponse (ControlResponse &response, uint32_t code, const std::string &text)
 
void setResponse (ControlResponse &response, uint32_t code, const std::string &text, const Block &body)
 
void sendResponse (const Name &name, const ControlResponse &response)
 
void sendResponse (const Name &name, uint32_t code, const std::string &text)
 
void sendResponse (const Name &name, uint32_t code, const std::string &text, const Block &body)
 
void sendNack (const Name &name)
 
virtual bool validateParameters (const ControlCommand &command, ControlParameters &parameters)
 
void addInterestRule (const std::string &regex, const ndn::IdentityCertificate &certificate)
 
void addInterestRule (const std::string &regex, const Name &keyName, const ndn::PublicKey &publicKey)
 
void validate (const Interest &interest, const ndn::OnInterestValidated &onValidated, const ndn::OnInterestValidationFailed &onValidationFailed)
 
- Static Protected Member Functions inherited from nfd::ManagerBase
static bool extractParameters (const Name::Component &parameterComponent, ControlParameters &extractedParameters)
 
- Protected Attributes inherited from nfd::ManagerBase
shared_ptr< InternalFacem_face
 
ndn::KeyChain & m_keyChain
 

Detailed Description

Definition at line 51 of file face-manager.hpp.

Constructor & Destructor Documentation

nfd::FaceManager::FaceManager ( FaceTable faceTable,
shared_ptr< InternalFace face,
ndn::KeyChain &  keyChain 
)
Exceptions
FaceManager::Errorif localPort is an invalid port number

Definition at line 108 of file face-manager.cpp.

References onFaceRequest().

nfd::FaceManager::~FaceManager ( )
virtual

Definition at line 130 of file face-manager.cpp.

Member Function Documentation

void nfd::FaceManager::onFaceRequest ( const Interest &  request)
void nfd::FaceManager::setConfigFile ( ConfigFile configFile)

Subscribe to a face management section(s) for the config file.

Definition at line 136 of file face-manager.cpp.

References nfd::ConfigFile::addSectionHandler().


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