26 #ifndef NFD_DAEMON_MGMT_FACE_MANAGER_HPP 27 #define NFD_DAEMON_MGMT_FACE_MANAGER_HPP 46 createFace(
const ControlParameters& parameters,
47 const ndn::mgmt::CommandContinuation& done);
50 updateFace(
const Interest& interest,
51 const ControlParameters& parameters,
52 const ndn::mgmt::CommandContinuation& done);
55 destroyFace(
const ControlParameters& parameters,
56 const ndn::mgmt::CommandContinuation& done);
60 afterCreateFaceSuccess(
const shared_ptr<Face>& face,
61 const ControlParameters& parameters,
62 const ndn::mgmt::CommandContinuation& done);
66 listFaces(ndn::mgmt::StatusDatasetContext& context);
69 listChannels(ndn::mgmt::StatusDatasetContext& context);
72 queryFaces(
const Interest& interest, ndn::mgmt::StatusDatasetContext& context);
76 notifyFaceEvent(
const Face& face, ndn::nfd::FaceEventKind kind);
79 connectFaceStateChangeSignal(
const Face& face);
82 FaceSystem& m_faceSystem;
84 ndn::mgmt::PostNotification m_postNotification;
85 signal::ScopedConnection m_faceAddConn;
86 signal::ScopedConnection m_faceRemoveConn;
89 std::map<FaceId, signal::ScopedConnection> m_faceStateChangeConn;
94 #endif // NFD_DAEMON_MGMT_FACE_MANAGER_HPP
Implements the Face Management of NFD Management Protocol.
FaceManager(FaceSystem &faceSystem, Dispatcher &dispatcher, CommandAuthenticator &authenticator)
Provides ControlCommand authorization according to NFD configuration file.
A collection of common functions shared by all NFD managers, such as communicating with the dispatche...
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE