26 #ifndef NFD_DAEMON_FACE_CHANNEL_HPP 27 #define NFD_DAEMON_FACE_CHANNEL_HPP 32 #include <boost/logic/tribool.hpp> 76 setUri(
const FaceUri& uri);
92 : persistency(
ndn::
nfd::FACE_PERSISTENCY_PERSISTENT)
93 , wantLocalFields(false)
94 , wantLpReliability(false)
95 , wantCongestionMarking(boost::logic::indeterminate)
121 #endif // NFD_DAEMON_FACE_CHANNEL_HPP Parameters used to set Transport properties or LinkService options on a newly created face...
Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents...
function< void(const shared_ptr< Face > &face)> FaceCreatedCallback
Prototype for the callback that is invoked when a face is created (in response to an incoming connect...
const FaceUri & getUri() const
ndn::nfd::FacePersistency persistency
function< void(uint32_t status, const std::string &reason)> FaceCreationFailedCallback
Prototype for the callback that is invoked when a face fails to be created.
void connectFaceClosedSignal(Face &face, const std::function< void()> &f)
invokes a callback when the face is closed
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
ndn::optional< time::nanoseconds > baseCongestionMarkingInterval
generalization of a network interface
ndn::optional< uint64_t > defaultCongestionThreshold
virtual bool isListening() const =0
Returns whether the channel is listening.
void setUri(const FaceUri &uri)
boost::logic::tribool wantCongestionMarking
represent a channel that communicates on a local endpoint
virtual size_t size() const =0
Returns the number of faces in the channel.