NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::face::ProtocolFactoryCtorParams Struct Reference

Parameters to ProtocolFactory constructor. More...

#include <protocol-factory.hpp>

Collaboration diagram for nfd::face::ProtocolFactoryCtorParams:

Public Attributes

FaceCreatedCallback addFace
 
shared_ptr< ndn::net::NetworkMonitornetmon
 

Detailed Description

Parameters to ProtocolFactory constructor.

Every ProtocolFactory subclass is expected to have a constructor that accepts CtorParams, which in turn passes it to ProtocolFactory base class constructor. Parameters are passed as a struct rather than individually, so that a future change in list of parameters does not require updates to subclass constructors.

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

Member Data Documentation

FaceCreatedCallback nfd::face::ProtocolFactoryCtorParams::addFace

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

shared_ptr<ndn::net::NetworkMonitor> nfd::face::ProtocolFactoryCtorParams::netmon

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


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