protocol factory for Ethernet More...
#include <ethernet-factory.hpp>
Public Member Functions | |
void | processConfig (OptionalConfigSection configSection, FaceSystem::ConfigContext &context) override |
process face_system.ether config section More... | |
void | createFace (const FaceUri &uri, ndn::nfd::FacePersistency persistency, bool wantLocalFieldsEnabled, const FaceCreatedCallback &onCreated, const FaceCreationFailedCallback &onFailure) override |
unicast face creation is not supported and will always fail More... | |
std::vector< shared_ptr< const Channel > > | getChannels () const override |
const std::set< std::string > & | getProvidedSchemes () |
Static Public Member Functions | |
static const std::string & | getId () |
template<typename PF > | |
static void | registerType (const std::string &id=PF::getId()) |
register a protocol factory type More... | |
static unique_ptr< ProtocolFactory > | create (const std::string &id) |
static std::set< std::string > | listRegistered () |
Static Protected Member Functions | |
template<typename ChannelMap > | |
static std::vector< shared_ptr< const Channel > > | getChannelsFromMap (const ChannelMap &channelMap) |
Protected Attributes | |
std::set< std::string > | providedSchemes |
FaceUri schemes provided by this ProtocolFactory. More... | |
protocol factory for Ethernet
Currently, only Ethernet multicast is supported.
Definition at line 38 of file ethernet-factory.hpp.
|
staticinherited |
nullptr | if factory with id is not registered |
Definition at line 41 of file protocol-factory.cpp.
|
overridevirtual |
unicast face creation is not supported and will always fail
Implements nfd::face::ProtocolFactory.
Definition at line 128 of file ethernet-factory.cpp.
|
overridevirtual |
Implements nfd::face::ProtocolFactory.
Definition at line 138 of file ethernet-factory.cpp.
|
inlinestaticprotectedinherited |
Definition at line 147 of file protocol-factory.hpp.
|
static |
Definition at line 40 of file ethernet-factory.cpp.
|
inlineinherited |
Definition at line 116 of file protocol-factory.hpp.
|
staticinherited |
Definition at line 49 of file protocol-factory.cpp.
|
overridevirtual |
process face_system.ether config section
Reimplemented from nfd::face::ProtocolFactory.
Definition at line 48 of file ethernet-factory.cpp.
|
inlinestaticinherited |
register a protocol factory type
S | subclass of ProtocolFactory |
id | factory identifier |
Definition at line 54 of file protocol-factory.hpp.
|
protectedinherited |
FaceUri schemes provided by this ProtocolFactory.
Definition at line 164 of file protocol-factory.hpp.