| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_FACE_CHANNEL_HPP |
| #define NFD_FACE_CHANNEL_HPP |
| class Channel : noncopyable |
| /** \brief Prototype for the callback called when face is created |
| * (as a response to incoming connection or after connection |
| typedef function<void(const shared_ptr<Face>& newFace)> FaceCreatedCallback; |
| /** \brief Prototype for the callback that is called when face is failed to |
| typedef function<void(const std::string& reason)> ConnectFailedCallback; |
| setUri(const FaceUri& uri); |
| #endif // NFD_FACE_CHANNEL_HPP |