nfd::face::FaceParams Struct Reference

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

#include <daemon/face/face-common.hpp>

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

Public Attributes

optional< time::nanoseconds > baseCongestionMarkingInterval
 
optional< uint64_t > defaultCongestionThreshold
 
optional< ssize_t > mtu
 
ndn::nfd::FacePersistency persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT
 
boost::logic::tribool wantCongestionMarking = boost::logic::indeterminate
 
bool wantLocalFields = false
 
bool wantLpReliability = false
 

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 72 of file face-common.hpp.

Member Data Documentation

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

Definition at line 75 of file face-common.hpp.

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

Definition at line 76 of file face-common.hpp.

optional<ssize_t> nfd::face::FaceParams::mtu

Definition at line 77 of file face-common.hpp.

ndn::nfd::FacePersistency nfd::face::FaceParams::persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT

Definition at line 74 of file face-common.hpp.

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

Definition at line 80 of file face-common.hpp.

bool nfd::face::FaceParams::wantLocalFields = false

Definition at line 78 of file face-common.hpp.

bool nfd::face::FaceParams::wantLpReliability = false

Definition at line 79 of file face-common.hpp.