nfd::face::FaceParams Class Reference

Parameters used to set Transport properties or LinkService options on a newly created face. More...

#include <daemon/face/channel.hpp>

+ Collaboration diagram for nfd::face::FaceParams:

Public Member Functions

 FaceParams () noexcept
 

Public Attributes

ndn::optional< time::nanoseconds > baseCongestionMarkingInterval
 
ndn::optional< uint64_t > defaultCongestionThreshold
 
ndn::nfd::FacePersistency persistency
 
boost::logic::tribool wantCongestionMarking
 
bool wantLocalFields
 
bool wantLpReliability
 

Detailed Description

Parameters used to set Transport properties or LinkService options on a newly created face.

Parameters are passed as a struct rather than individually, so that a future change in the list of parameters does not require an update to the method signature in all subclasses.

Definition at line 87 of file channel.hpp.

Constructor & Destructor Documentation

nfd::face::FaceParams::FaceParams ( )
inlinenoexcept

Definition at line 91 of file channel.hpp.

Member Data Documentation

ndn::optional<time::nanoseconds> nfd::face::FaceParams::baseCongestionMarkingInterval

Definition at line 101 of file channel.hpp.

ndn::optional<uint64_t> nfd::face::FaceParams::defaultCongestionThreshold

Definition at line 102 of file channel.hpp.

ndn::nfd::FacePersistency nfd::face::FaceParams::persistency

Definition at line 100 of file channel.hpp.

boost::logic::tribool nfd::face::FaceParams::wantCongestionMarking

Definition at line 105 of file channel.hpp.

bool nfd::face::FaceParams::wantLocalFields

Definition at line 103 of file channel.hpp.

bool nfd::face::FaceParams::wantLpReliability

Definition at line 104 of file channel.hpp.