manages netdev-bound faces More...
#include <netdev-bound.hpp>


Classes | |
| class | RuleParseError |
Public Types | |
| using | Key = std::pair< FaceUri, std::string > |
Public Member Functions | |
| NetdevBound (const ProtocolFactoryCtorParams ¶ms, const FaceSystem &faceSystem) | |
| void | processConfig (OptionalConfigSection configSection, FaceSystem::ConfigContext &context) |
| process face_system.netdev_bound config section More... | |
| Rule | parseRule (int index, const ConfigSection &confRule) const |
Public Attributes | |
| NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE | __pad0__: struct Rule { std::vector<FaceUri> remotes |
| NetworkInterfacePredicate | netifPredicate |
| NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE | __pad1__: const FaceSystem& m_faceSystem |
| FaceCreatedCallback | m_addFace |
| shared_ptr< ndn::net::NetworkMonitor > | m_netmon |
| std::vector< Rule > | m_rules |
| std::map< Key, shared_ptr< Face > > | m_faces |
manages netdev-bound faces
Definition at line 38 of file netdev-bound.hpp.
| using nfd::face::NetdevBound::Key = std::pair<FaceUri, std::string> |
Definition at line 81 of file netdev-bound.hpp.
| nfd::face::NetdevBound::NetdevBound | ( | const ProtocolFactoryCtorParams & | params, |
| const FaceSystem & | faceSystem | ||
| ) |
Definition at line 35 of file netdev-bound.cpp.
| void nfd::face::NetdevBound::processConfig | ( | OptionalConfigSection | configSection, |
| FaceSystem::ConfigContext & | context | ||
| ) |
process face_system.netdev_bound config section
Definition at line 43 of file netdev-bound.cpp.
References ndn::FaceUri::getScheme(), nfd::face::FaceSystem::ConfigContext::isDryRun, m_faces, m_rules, NDN_THROW, NFD_LOG_DEBUG, parseRule(), Rule, and ndn::FaceUri::toString().
| NetdevBound::Rule nfd::face::NetdevBound::parseRule | ( | int | index, |
| const ConfigSection & | confRule | ||
| ) | const |
Definition at line 91 of file netdev-bound.cpp.
References NDN_THROW, NDN_THROW_NESTED, and Rule.
Referenced by processConfig().
| NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE nfd::face::NetdevBound::__pad0__ |
Definition at line 67 of file netdev-bound.hpp.
| NetworkInterfacePredicate nfd::face::NetdevBound::netifPredicate |
Definition at line 68 of file netdev-bound.hpp.
| NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE nfd::face::NetdevBound::__pad1__ |
Definition at line 75 of file netdev-bound.hpp.
| FaceCreatedCallback nfd::face::NetdevBound::m_addFace |
Definition at line 76 of file netdev-bound.hpp.
| shared_ptr<ndn::net::NetworkMonitor> nfd::face::NetdevBound::m_netmon |
Definition at line 77 of file netdev-bound.hpp.
| std::vector<Rule> nfd::face::NetdevBound::m_rules |
Definition at line 79 of file netdev-bound.hpp.
Referenced by processConfig().
Definition at line 82 of file netdev-bound.hpp.
Referenced by processConfig().