26 #ifndef NFD_DAEMON_MGMT_FACE_MANAGER_HPP 27 #define NFD_DAEMON_MGMT_FACE_MANAGER_HPP 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);
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
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...
generalization of a network interface
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
entry point of the face system