NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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, CommandValidator &validator)
 
void setConfigFile (ConfigFile &configFile)
 Subscribe to face_system section for the config file. More...
 
- Public Member Functions inherited from nfd::ManagerBase
 ManagerBase (Dispatcher &dispatcher, CommandValidator &validator, const std::string &module)
 

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)
 

Detailed Description

implement the Face Management of NFD Management Protocol.

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

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

Constructor & Destructor Documentation

§ FaceManager()

nfd::FaceManager::FaceManager ( FaceTable faceTable,
Dispatcher dispatcher,
CommandValidator validator 
)

Member Function Documentation

§ setConfigFile()

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

Subscribe to face_system section for the config file.

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

References nfd::FaceTable::add(), nfd::ConfigFile::addSectionHandler(), nfd::face::GenericLinkService::Options::allowLocalFields, ndn::mgmt::StatusDatasetContext::append(), ndn::mgmt::StatusDatasetContext::end(), ndn::nfd::FACE_EVENT_CREATED, ndn::nfd::FACE_EVENT_DESTROYED, ndn::nfd::FACE_SCOPE_NON_LOCAL, ndn::util::ethernet::Address::fromString(), nfd::FaceTable::get(), nfd::ProtocolFactory::getChannels(), ndn::util::ethernet::getDefaultMulticastAddress(), ndn::nfd::FaceQueryFilter::getFaceId(), ndn::nfd::ControlParameters::getFaceId(), ndn::nfd::FaceQueryFilter::getFacePersistency(), ndn::nfd::ControlParameters::getFacePersistency(), ndn::nfd::FaceQueryFilter::getFaceScope(), ndn::nfd::FaceQueryFilter::getLinkType(), ndn::nfd::FaceQueryFilter::getLocalUri(), ndn::Interest::getName(), ndn::nfd::FaceQueryFilter::getRemoteUri(), ndn::util::FaceUri::getScheme(), ndn::TagHost::getTag(), ndn::nfd::ControlParameters::getUri(), ndn::nfd::FaceQueryFilter::getUriScheme(), ndn::nfd::FaceQueryFilter::hasFaceId(), ndn::nfd::FaceQueryFilter::hasFacePersistency(), ndn::nfd::FaceQueryFilter::hasFaceScope(), 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::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::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::nfd::ControlParameters::setUri(), 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: