nfd::face::FaceParams Struct 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 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 87 of file channel.hpp.

Member Data Documentation

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

Definition at line 90 of file channel.hpp.

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

Definition at line 91 of file channel.hpp.

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

Definition at line 92 of file channel.hpp.

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

Definition at line 89 of file channel.hpp.

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

Definition at line 95 of file channel.hpp.

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

Definition at line 93 of file channel.hpp.

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

Definition at line 94 of file channel.hpp.