26 #ifndef NFD_DAEMON_MGMT_FACE_MANAGER_HPP 27 #define NFD_DAEMON_MGMT_FACE_MANAGER_HPP 42 Dispatcher& dispatcher,
47 createFace(
const ControlParameters& parameters,
48 const ndn::mgmt::CommandContinuation& done);
51 updateFace(
const Interest& interest,
52 const ControlParameters& parameters,
53 const ndn::mgmt::CommandContinuation& done);
56 destroyFace(
const ControlParameters& parameters,
57 const ndn::mgmt::CommandContinuation& done);
61 afterCreateFaceSuccess(
const shared_ptr<Face>& face,
62 const ControlParameters& parameters,
63 const ndn::mgmt::CommandContinuation& done);
67 listFaces(ndn::mgmt::StatusDatasetContext& context);
70 listChannels(ndn::mgmt::StatusDatasetContext& context);
73 queryFaces(
const Interest& interest, ndn::mgmt::StatusDatasetContext& context);
77 notifyFaceEvent(
const Face& face, ndn::nfd::FaceEventKind kind);
80 connectFaceStateChangeSignal(
const Face& face);
83 FaceSystem& m_faceSystem;
85 ndn::mgmt::PostNotification m_postNotification;
86 signal::ScopedConnection m_faceAddConn;
87 signal::ScopedConnection m_faceRemoveConn;
90 std::map<FaceId, signal::ScopedConnection> m_faceStateChangeConn;
95 #endif // NFD_DAEMON_MGMT_FACE_MANAGER_HPP
implement the Face Management of NFD Management Protocol.
FaceManager(FaceSystem &faceSystem, Dispatcher &dispatcher, CommandAuthenticator &authenticator)
Provides ControlCommand authorization according to NFD configuration file.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE