#include <manager-base.hpp>


Classes | |
| struct | Error | 
Public Member Functions | |
| 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) | 
Protected Member Functions | |
| 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 ¶meters) | 
| void | addInterestRule (const std::string ®ex, const ndn::IdentityCertificate &certificate) | 
| void | addInterestRule (const std::string ®ex, const Name &keyName, const ndn::PublicKey &publicKey) | 
| void | validate (const Interest &interest, const ndn::OnInterestValidated &onValidated, const ndn::OnInterestValidationFailed &onValidationFailed) | 
Static Protected Member Functions | |
| static bool | extractParameters (const Name::Component ¶meterComponent, ControlParameters &extractedParameters) | 
Protected Attributes | |
| shared_ptr< InternalFace > | m_face | 
| ndn::KeyChain & | m_keyChain | 
Definition at line 46 of file manager-base.hpp.
| nfd::ManagerBase::ManagerBase | ( | shared_ptr< InternalFace > | face, | 
| const std::string & | privilege, | ||
| ndn::KeyChain & | keyChain | ||
| ) | 
Definition at line 33 of file manager-base.cpp.
      
  | 
  virtual | 
Definition at line 41 of file manager-base.cpp.
      
  | 
  inlineprotected | 
Definition at line 144 of file manager-base.hpp.
References m_face.
      
  | 
  inlineprotected | 
Definition at line 151 of file manager-base.hpp.
References m_face.
      
  | 
  staticprotected | 
Definition at line 47 of file manager-base.cpp.
References NFD_LOG_DEBUG.
| void nfd::ManagerBase::onCommandValidationFailed | ( | const shared_ptr< const Interest > & | command, | 
| const std::string & | error | ||
| ) | 
Definition at line 136 of file manager-base.cpp.
References NFD_LOG_DEBUG, and sendResponse().
Referenced by nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), and nfd::StrategyChoiceManager::onStrategyChoiceRequest().
      
  | 
  protected | 
Definition at line 103 of file manager-base.cpp.
References m_face, m_keyChain, and NFD_LOG_DEBUG.
      
  | 
  protected | 
Definition at line 85 of file manager-base.cpp.
References m_face, m_keyChain, and NFD_LOG_DEBUG.
Referenced by onCommandValidationFailed(), nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), nfd::StrategyChoiceManager::onStrategyChoiceRequest(), and sendResponse().
      
  | 
  protected | 
Definition at line 65 of file manager-base.cpp.
References sendResponse().
      
  | 
  protected | 
Definition at line 74 of file manager-base.cpp.
References sendResponse().
      
  | 
  inlineprotected | 
Definition at line 125 of file manager-base.hpp.
Referenced by setResponse().
      
  | 
  inlineprotected | 
Definition at line 134 of file manager-base.hpp.
References setResponse().
      
  | 
  inlineprotected | 
Definition at line 159 of file manager-base.hpp.
References m_face.
Referenced by nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), and nfd::StrategyChoiceManager::onStrategyChoiceRequest().
      
  | 
  protectedvirtual | 
Definition at line 118 of file manager-base.cpp.
      
  | 
  protected | 
Definition at line 120 of file manager-base.hpp.
Referenced by addInterestRule(), sendNack(), sendResponse(), and validate().
      
  | 
  protected | 
Definition at line 121 of file manager-base.hpp.
Referenced by sendNack(), and sendResponse().