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