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 (FaceSystem &faceSystem, 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)
 
virtual ~ManagerBase ()
 
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
https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt

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

Constructor & Destructor Documentation

Member Function Documentation

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

Subscribe to face_system section for the config file.

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

References nfd::FaceTable::add(), ndn::mgmt::StatusDatasetContext::append(), ndn::nfd::BIT_LOCAL_FIELDS_ENABLED, ndn::nfd::BIT_LP_RELIABILITY_ENABLED, nfd::face::CLOSED, nfd::face::ProtocolFactory::createFace(), nfd::face::DOWN, ndn::mgmt::StatusDatasetContext::end(), Face, ndn::nfd::FACE_EVENT_DOWN, ndn::nfd::FACE_EVENT_UP, ndn::nfd::FACE_SCOPE_LOCAL, nfd::FaceTable::get(), ndn::nfd::FaceQueryFilter::getFaceId(), ndn::nfd::ControlParameters::getFaceId(), ndn::nfd::FaceQueryFilter::getFacePersistency(), ndn::nfd::ControlParameters::getFacePersistency(), ndn::nfd::FaceQueryFilter::getFaceScope(), ndn::nfd::ControlParameters::getFlagBit(), ndn::nfd::FaceQueryFilter::getLinkType(), ndn::nfd::FaceQueryFilter::getLocalUri(), ndn::nfd::ControlParameters::getLocalUri(), ndn::Interest::getName(), nfd::face::GenericLinkService::getOptions(), ndn::nfd::FaceQueryFilter::getRemoteUri(), ndn::FaceUri::getScheme(), 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::ControlParameters::hasLocalUri(), ndn::nfd::FaceQueryFilter::hasRemoteUri(), ndn::nfd::FaceQueryFilter::hasUriScheme(), nfd::face::INVALID_FACEID, ndn::FaceUri::isCanonical(), websocketpp::lib::asio::milliseconds(), 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::FaceUri::parse(), 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::setNInData(), ndn::nfd::FaceStatus::setNInInterests(), ndn::nfd::FaceStatus::setNInNacks(), ndn::nfd::FaceStatus::setNOutBytes(), ndn::nfd::FaceStatus::setNOutData(), ndn::nfd::FaceStatus::setNOutInterests(), ndn::nfd::FaceStatus::setNOutNacks(), ndn::nfd::ControlParameters::setUri(), ndn::FaceUri::toString(), nfd::face::UP, ndn::nfd::FaceQueryFilter::wireDecode(), ndn::nfd::FaceEventNotification::wireEncode(), ndn::nfd::FaceStatus::wireEncode(), ndn::nfd::ChannelStatus::wireEncode(), and ndn::nfd::ControlParameters::wireEncode().


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