7 #ifndef NDN_MANAGEMENT_NDND_CONTROLLER_HPP
8 #define NDN_MANAGEMENT_NDND_CONTROLLER_HPP
64 processFaceActionResponse(
Data& data,
69 processPrefixActionResponse(
Data& data,
80 FilterRequest(
const Name& prefixToRegister,
83 : m_prefixToRegister(prefixToRegister)
84 , m_onSuccess(onSuccess)
85 , m_onFailure(onFailure)
89 Name m_prefixToRegister;
94 typedef std::list<FilterRequest> FilterRequestList;
95 FilterRequestList m_filterRequests;
101 #endif // NDN_MANAGEMENT_NDND_CONTROLLER_HPP
virtual void selfDeregisterPrefix(const Name &prefixToRegister, const SuccessCallback &onSuccess, const FailCallback &onFail)
function< void(const FaceInstance &)> FaceOperationSucceedCallback
function< void()> SuccessCallback
Class representing wire element of the NDN packet.
An Interest holds a Name and other fields for an interest.
Controller(Face &face)
Construct ndnd::Control object.
void startFaceAction(const FaceInstance &entry, const FaceOperationSucceedCallback &onSuccess, const FailCallback &onFailure)
void startPrefixAction(const ForwardingEntry &entry, const PrefixOperationSucceedCallback &onSuccess, const FailCallback &onFailure)
virtual void selfRegisterPrefix(const Name &prefixToRegister, const SuccessCallback &onSuccess, const FailCallback &onFail)
function< void(const std::string &)> FailCallback
An ForwardingEntry holds an action and Name prefix and other fields for an forwarding entry...
Abstraction to communicate with local or remote NDN forwarder.
An FaceInstance holds an action and Name prefix and other fields for an forwarding entry...
function< void(const ForwardingEntry &)> PrefixOperationSucceedCallback
A Name holds an array of Name::Component and represents an NDN name.