Parameters used to set Transport properties or LinkService options on a newly created face. More...
#include <face-common.hpp>
Public Attributes | |
ndn::nfd::FacePersistency | persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT |
optional< time::nanoseconds > | baseCongestionMarkingInterval |
optional< uint64_t > | defaultCongestionThreshold |
optional< ssize_t > | mtu |
bool | wantLocalFields = false |
bool | wantLpReliability = false |
boost::logic::tribool | wantCongestionMarking = boost::logic::indeterminate |
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.
ndn::nfd::FacePersistency nfd::face::FaceParams::persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT |
Definition at line 80 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::face::EthernetFactory::EthernetFactory(), nfd::FaceManager::FaceManager(), nfd::face::TcpFactory::getId(), nfd::face::UdpChannel::listen(), nfd::face::EthernetChannel::listen(), and nfd::face::UdpFactory::UdpFactory().
optional<time::nanoseconds> nfd::face::FaceParams::baseCongestionMarkingInterval |
Definition at line 81 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::FaceManager::FaceManager(), and nfd::face::UdpChannel::listen().
optional<uint64_t> nfd::face::FaceParams::defaultCongestionThreshold |
Definition at line 82 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::FaceManager::FaceManager(), and nfd::face::UdpChannel::listen().
optional<ssize_t> nfd::face::FaceParams::mtu |
Definition at line 83 of file face-common.hpp.
Referenced by nfd::face::EthernetFactory::EthernetFactory(), nfd::FaceManager::FaceManager(), nfd::face::TcpFactory::getId(), nfd::face::UdpChannel::listen(), nfd::face::EthernetChannel::listen(), and nfd::face::UdpFactory::UdpFactory().
bool nfd::face::FaceParams::wantLocalFields = false |
Definition at line 84 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::face::EthernetFactory::EthernetFactory(), nfd::FaceManager::FaceManager(), nfd::face::TcpFactory::getId(), and nfd::face::UdpFactory::UdpFactory().
bool nfd::face::FaceParams::wantLpReliability = false |
Definition at line 85 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::FaceManager::FaceManager(), nfd::face::UdpChannel::listen(), and nfd::face::EthernetChannel::listen().
boost::logic::tribool nfd::face::FaceParams::wantCongestionMarking = boost::logic::indeterminate |
Definition at line 86 of file face-common.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::FaceManager::FaceManager(), and nfd::face::UdpChannel::listen().