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

Member Data Documentation

◆ baseCongestionMarkingInterval

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

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

◆ defaultCongestionThreshold

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

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

◆ mtu

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

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

◆ persistency

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

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

◆ wantCongestionMarking

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

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

◆ wantLocalFields

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

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

◆ wantLpReliability

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

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