Entry point of NFD's face system. More...
#include <daemon/face/face-system.hpp>
Classes | |
class | ConfigContext |
Context for processing a config section in ProtocolFactory. More... | |
struct | GeneralConfig |
Configuration options from general section. More... | |
Public Member Functions | |
FaceSystem (FaceTable &faceTable, shared_ptr< ndn::net::NetworkMonitor > netmon) | |
~FaceSystem () | |
FaceTable & | getFaceTable () |
ProtocolFactory * | getFactoryById (const std::string &id) |
ProtocolFactory * | getFactoryByScheme (const std::string &scheme) |
bool | hasFactoryForScheme (const std::string &scheme) const |
std::set< const ProtocolFactory * > | listProtocolFactories () const |
Returns all ProtocolFactory objects owned by the face system. More... | |
void | setConfigFile (ConfigFile &configFile) |
Register handler for the face_system section of NFD's configuration file. More... | |
Entry point of NFD's face system.
NFD's face system is organized as a FaceSystem-ProtocolFactory-Channel-Face hierarchy. The FaceSystem class is the entry point of the face system and owns all ProtocolFactory objects.
Definition at line 52 of file face-system.hpp.
nfd::face::FaceSystem::FaceSystem | ( | FaceTable & | faceTable, |
shared_ptr< ndn::net::NetworkMonitor > | netmon | ||
) |
Definition at line 41 of file face-system.cpp.
|
default |
|
inline |
Definition at line 79 of file face-system.hpp.
ProtocolFactory * nfd::face::FaceSystem::getFactoryById | ( | const std::string & | id | ) |
Definition at line 74 of file face-system.cpp.
ProtocolFactory * nfd::face::FaceSystem::getFactoryByScheme | ( | const std::string & | scheme | ) |
Definition at line 81 of file face-system.cpp.
bool nfd::face::FaceSystem::hasFactoryForScheme | ( | const std::string & | scheme | ) | const |
Definition at line 88 of file face-system.cpp.
std::set< const ProtocolFactory * > nfd::face::FaceSystem::listProtocolFactories | ( | ) | const |
Returns all ProtocolFactory objects owned by the face system.
Definition at line 64 of file face-system.cpp.
void nfd::face::FaceSystem::setConfigFile | ( | ConfigFile & | configFile | ) |
Register handler for the face_system
section of NFD's configuration file.
Definition at line 94 of file face-system.cpp.