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

implement the Face Management of NFD Management Protocol. More...

#include <face-manager.hpp>

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

Public Member Functions

 FaceManager (FaceTable &faceTable, Dispatcher &dispatcher, CommandAuthenticator &authenticator)
 
void setConfigFile (ConfigFile &configFile)
 Subscribe to face_system section for the config file. More...
 
- Public Member Functions inherited from nfd::NfdManagerBase
 NfdManagerBase (Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module)
 
- Public Member Functions inherited from nfd::ManagerBase
 ManagerBase (Dispatcher &dispatcher, const std::string &module)
 
const std::string & getModule () const
 

Additional Inherited Members

- Protected Types inherited from nfd::ManagerBase
typedef function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters &parameters, const ndn::mgmt::CommandContinuation done)> ControlCommandHandler
 
- Protected Member Functions inherited from nfd::ManagerBase
template<typename Command >
void registerCommandHandler (const std::string &verb, const ControlCommandHandler &handler)
 
void registerStatusDatasetHandler (const std::string &verb, const ndn::mgmt::StatusDatasetHandler &handler)
 
ndn::mgmt::PostNotification registerNotificationStream (const std::string &verb)
 
void extractRequester (const Interest &interest, ndn::mgmt::AcceptContinuation accept)
 extract a requester from a ControlCommand request More...
 

Detailed Description

implement the Face Management of NFD Management Protocol.

See also
http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt

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

Constructor & Destructor Documentation

◆ FaceManager()

Member Function Documentation

◆ setConfigFile()

void nfd::FaceManager::setConfigFile ( ConfigFile configFile)

Subscribe to face_system section for the config file.

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

References nfd::FaceTable::add(), nfd::ConfigFile::addSectionHandler(), nfd::face::Face::afterStateChange, nfd::face::GenericLinkService::Options::allowLocalFields, ndn::mgmt::StatusDatasetContext::append(), ndn::nfd::BIT_LOCAL_FIELDS_ENABLED, nfd::face::Face::close(), nfd::face::CLOSED, nfd::face::DOWN, ndn::mgmt::StatusDatasetContext::end(), ndn::nfd::FACE_EVENT_DOWN, ndn::nfd::FACE_EVENT_UP, ndn::nfd::FACE_SCOPE_LOCAL, ndn::nfd::FACE_SCOPE_NON_LOCAL, ndn::util::ethernet::Address::fromString(), nfd::FaceTable::get(), nfd::ProtocolFactory::getChannels(), nfd::face::Face::getCounters(), ndn::util::ethernet::getDefaultMulticastAddress(), nfd::face::Face::getExpirationTime(), ndn::nfd::FaceQueryFilter::getFaceId(), ndn::nfd::ControlParameters::getFaceId(), ndn::nfd::FaceQueryFilter::getFacePersistency(), ndn::nfd::ControlParameters::getFacePersistency(), ndn::nfd::FaceQueryFilter::getFaceScope(), ndn::nfd::ControlParameters::getFlagBit(), nfd::face::Face::getId(), nfd::face::Face::getLinkService(), nfd::face::Face::getLinkType(), ndn::nfd::FaceQueryFilter::getLinkType(), nfd::face::Face::getLocalUri(), ndn::nfd::FaceQueryFilter::getLocalUri(), ndn::Interest::getName(), nfd::face::GenericLinkService::getOptions(), nfd::face::Face::getPersistency(), ndn::nfd::FaceQueryFilter::getRemoteUri(), nfd::face::Face::getRemoteUri(), ndn::util::FaceUri::getScheme(), nfd::face::Face::getScope(), ndn::TagHost::getTag(), ndn::nfd::ControlParameters::getUri(), ndn::nfd::FaceQueryFilter::getUriScheme(), ndn::nfd::FaceQueryFilter::hasFaceId(), ndn::nfd::FaceQueryFilter::hasFacePersistency(), ndn::nfd::ControlParameters::hasFacePersistency(), ndn::nfd::FaceQueryFilter::hasFaceScope(), ndn::nfd::ControlParameters::hasFlagBit(), ndn::nfd::FaceQueryFilter::hasLinkType(), ndn::nfd::FaceQueryFilter::hasLocalUri(), ndn::nfd::FaceQueryFilter::hasRemoteUri(), ndn::nfd::FaceQueryFilter::hasUriScheme(), ndn::util::FaceUri::isCanonical(), ndn::util::ethernet::Address::isNull(), nfd::listNetworkInterfaces(), NFD_LOG_DEBUG, NFD_LOG_ERROR, NFD_LOG_TRACE, nfd::face::FaceCounters::nInBytes, nfd::face::FaceCounters::nInData, nfd::face::FaceCounters::nInInterests, nfd::face::FaceCounters::nInNacks, nfd::face::FaceCounters::nOutBytes, nfd::face::FaceCounters::nOutData, nfd::face::FaceCounters::nOutInterests, nfd::face::FaceCounters::nOutNacks, ndn::time::steady_clock::now(), ndn::util::FaceUri::parse(), nfd::NetworkInterfacePredicate::parseBlacklist(), nfd::NetworkInterfacePredicate::parseWhitelist(), nfd::ConfigFile::parseYesNo(), ndn::mgmt::StatusDatasetContext::reject(), ndn::nfd::FaceStatus::setExpirationPeriod(), ndn::nfd::FaceTraits< C >::setFaceId(), ndn::nfd::ControlParameters::setFaceId(), ndn::nfd::ControlParameters::setFacePersistency(), ndn::nfd::ControlParameters::setFlagBit(), ndn::nfd::FaceEventNotification::setKind(), ndn::nfd::ChannelStatus::setLocalUri(), ndn::nfd::FaceStatus::setNInBytes(), ndn::nfd::FaceStatus::setNInDatas(), ndn::nfd::FaceStatus::setNInInterests(), ndn::nfd::FaceStatus::setNInNacks(), ndn::nfd::FaceStatus::setNOutBytes(), ndn::nfd::FaceStatus::setNOutDatas(), ndn::nfd::FaceStatus::setNOutInterests(), ndn::nfd::FaceStatus::setNOutNacks(), ndn::util::FaceUri::toString(), nfd::face::UP, ndn::nfd::FaceQueryFilter::wireDecode(), ndn::nfd::FaceStatus::wireEncode(), ndn::nfd::ChannelStatus::wireEncode(), ndn::nfd::FaceEventNotification::wireEncode(), and ndn::nfd::ControlParameters::wireEncode().


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