Base class of NFD StatusDataset
.
More...
#include <ndn-cxx/mgmt/nfd/status-dataset.hpp>
◆ StatusDatasetBase()
ndn::nfd::StatusDatasetBase::StatusDatasetBase |
( |
PartialName |
datasetName | ) |
|
|
inlineexplicitprotected |
Protected constructor.
- Parameters
-
datasetName | Dataset name after top-level prefix, such as faces/list . |
Definition at line 81 of file status-dataset.hpp.
◆ ~StatusDatasetBase()
ndn::nfd::StatusDatasetBase::~StatusDatasetBase |
( |
| ) |
|
|
protecteddefault |
◆ getDatasetPrefix()
Name ndn::nfd::StatusDatasetBase::getDatasetPrefix |
( |
const Name & |
prefix | ) |
const |
Constructs a name prefix for the dataset.
- Parameters
-
prefix | Top-level prefix, such as /localhost/nfd . |
- Returns
- Name prefix without version and segment components.
Definition at line 27 of file status-dataset.cpp.
◆ parseResult()
ResultType ndn::nfd::StatusDatasetBase::parseResult |
( |
ConstBufferPtr |
payload | ) |
const |
Parses a result from a reassembled payload.
- Parameters
-
payload | The reassembled payload. |
- Returns
- The parsed result, usually a vector.
- Exceptions
-
- See also
- StatusDatasetParseError
◆ m_datasetName