#include <channel.hpp>
Public Types | |
typedef function< void(const shared_ptr< Face > &newFace)> | FaceCreatedCallback |
Prototype for the callback called when face is created (as a response to incoming connection or after connection is established) More... | |
typedef function< void(const std::string &reason)> | ConnectFailedCallback |
Prototype for the callback that is called when face is failed to get created. More... | |
Public Member Functions | |
virtual | ~Channel () |
const FaceUri & | getUri () const |
Protected Member Functions | |
void | setUri (const FaceUri &uri) |
Definition at line 32 of file channel.hpp.
typedef function<void(const std::string& reason)> nfd::Channel::ConnectFailedCallback |
Prototype for the callback that is called when face is failed to get created.
Definition at line 44 of file channel.hpp.
typedef function<void(const shared_ptr<Face>& newFace)> nfd::Channel::FaceCreatedCallback |
Prototype for the callback called when face is created (as a response to incoming connection or after connection is established)
Definition at line 39 of file channel.hpp.
|
virtual |
Definition at line 29 of file channel.cpp.
|
inline |
Definition at line 61 of file channel.hpp.
|
protected |
Definition at line 34 of file channel.cpp.