NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nfd::ProtocolFactory Class Referenceabstract

#include <protocol-factory.hpp>

Classes

struct  Error
 Base class for all exceptions thrown by channel factories. More...
 

Public Member Functions

virtual void createFace (const FaceUri &uri, const FaceCreatedCallback &onCreated, const FaceConnectFailedCallback &onConnectFailed)=0
 Try to create Face using the supplied Face URI. More...
 
virtual std::list< shared_ptr
< const Channel > > 
getChannels () const =0
 

Detailed Description

Definition at line 49 of file protocol-factory.hpp.

Member Function Documentation

virtual void nfd::ProtocolFactory::createFace ( const FaceUri &  uri,
const FaceCreatedCallback onCreated,
const FaceConnectFailedCallback onConnectFailed 
)
pure virtual

Try to create Face using the supplied Face URI.

This method should automatically choose channel, based on supplied Face URI and create face.

Exceptions
Factory::Errorif Factory does not support connect operation
virtual std::list<shared_ptr<const Channel> > nfd::ProtocolFactory::getChannels ( ) const
pure virtual

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