|
ndn-cxx: NDN C++ Library 0.9.0-33-g832ea91d
|
#include "ndn-cxx/face.hpp"#include "ndn-cxx/ims/in-memory-storage-fifo.hpp"#include "ndn-cxx/mgmt/control-parameters-base.hpp"#include "ndn-cxx/mgmt/control-response.hpp"#include "ndn-cxx/mgmt/status-dataset-context.hpp"#include "ndn-cxx/security/key-chain.hpp"#include <unordered_map>
Include dependency graph for dispatcher.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | ndn::mgmt::Dispatcher |
| Implements a request dispatcher on server side of NFD Management protocol. More... | |
Namespaces | |
| namespace | ndn |
| namespace | ndn::mgmt |
Typedefs | |
| using | ndn::mgmt::AcceptContinuation = std::function< void(const std::string &requester)> |
| A function to be called if authorization is successful. | |
| using | ndn::mgmt::Authorization = std::function< void(const Name &prefix, const Interest &interest, const ControlParametersBase *params, const AcceptContinuation &accept, const RejectContinuation &reject)> |
| A function that performs authorization. | |
| using | ndn::mgmt::CommandContinuation = std::function< void(const ControlResponse &resp)> |
| A function to be called after a ControlCommandHandler completes. | |
| using | ndn::mgmt::ControlCommandHandler = std::function< void(const Name &prefix, const Interest &interest, const ControlParametersBase ¶ms, const CommandContinuation &done)> |
| A function to handle an authorized ControlCommand. | |
| using | ndn::mgmt::PostNotification = std::function< void(const Block ¬ification)> |
| A function to post a notification. | |
| using | ndn::mgmt::RejectContinuation = std::function< void(RejectReply)> |
| A function to be called if authorization is rejected. | |
| using | ndn::mgmt::StatusDatasetHandler = std::function< void(const Name &prefix, const Interest &interest, StatusDatasetContext &context)> |
| A function to handle a StatusDataset request. | |
| using | ndn::mgmt::ValidateParameters = std::function< bool(ControlParametersBase ¶ms)> |
| A function to validate and normalize the incoming request parameters. | |
Enumerations | |
| enum class | ndn::mgmt::RejectReply { ndn::mgmt::SILENT , ndn::mgmt::STATUS403 } |
| Indicates how to reply in case authorization is rejected. More... | |
Functions | |
| Authorization | ndn::mgmt::makeAcceptAllAuthorization () |
| Return an Authorization that accepts all Interests, with empty string as requester. | |