26 #ifndef NFD_DAEMON_FACE_CHANNEL_HPP 27 #define NFD_DAEMON_FACE_CHANNEL_HPP 76 setUri(
const FaceUri& uri);
95 #endif // NFD_DAEMON_FACE_CHANNEL_HPP const FaceUri & getUri() const
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...
generalization of a network interface
virtual bool isListening() const =0
Returns whether the channel is listening.
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 setUri(const FaceUri &uri)
represent a channel that communicates on a local endpoint
function< void(const shared_ptr< Face > &newFace)> FaceCreatedCallback
Prototype for the callback that is invoked when a face is created (in response to an incoming connect...
virtual size_t size() const =0
Returns the number of faces in the channel.