#include "ndn-cxx/face.hpp"#include "ndn-cxx/encoding/block.hpp"#include "ndn-cxx/ims/in-memory-storage-fifo.hpp"#include "ndn-cxx/mgmt/control-response.hpp"#include "ndn-cxx/mgmt/control-parameters.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 | |
| ndn | |
| ndn::mgmt | |
Typedefs | |
| typedef std::function< void(const std::string &requester)> | ndn::mgmt::AcceptContinuation |
| A function to be called if authorization is successful. More... | |
| typedef std::function< void(const Name &prefix, const Interest &interest, const ControlParameters *params, const AcceptContinuation &accept, const RejectContinuation &reject)> | ndn::mgmt::Authorization |
| A function that performs authorization. More... | |
| typedef std::function< void(const ControlResponse &resp)> | ndn::mgmt::CommandContinuation |
| A function to be called after ControlCommandHandler completes. More... | |
| typedef std::function< void(const Name &prefix, const Interest &interest, const ControlParameters ¶ms, const CommandContinuation &done)> | ndn::mgmt::ControlCommandHandler |
| A function to handle an authorized ControlCommand. More... | |
| typedef std::function< void(const Block ¬ification)> | ndn::mgmt::PostNotification |
| A function to post a notification. More... | |
| typedef std::function< void(RejectReply reply)> | ndn::mgmt::RejectContinuation |
| A function to be called if authorization is rejected. More... | |
| typedef std::function< void(const Name &prefix, const Interest &interest, StatusDatasetContext &context)> | ndn::mgmt::StatusDatasetHandler |
| A function to handle a StatusDataset request. More... | |
| typedef std::function< bool(const ControlParameters ¶ms)> | ndn::mgmt::ValidateParameters |
| A function to validate input ControlParameters. More... | |
Enumerations | |
| enum class | ndn::mgmt::RejectReply { ndn::mgmt::SILENT , ndn::mgmt::STATUS403 } |
| Indicate 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. More... | |