base class of NFD StatusDataset More...
#include <status-dataset.hpp>
Classes | |
class | ParseResultError |
indicates reassembled payload cannot be parsed as ResultType More... | |
Public Types | |
typedef int | ParamType |
if defined, specifies constructor argument type; otherwise, constructor has no argument More... | |
typedef std::vector< int > | ResultType |
provides the result type, usually a vector More... | |
Public Member Functions | |
virtual | ~StatusDataset () |
Name | getDatasetPrefix (const Name &prefix) const |
constructs a name prefix for the dataset More... | |
ResultType | parseResult (ConstBufferPtr payload) const |
parses a result from reassembled payload More... | |
Protected Member Functions | |
StatusDataset (const PartialName &datasetName) | |
constructs a StatusDataset instance with given sub-prefix More... | |
base class of NFD StatusDataset
Definition at line 42 of file status-dataset.hpp.
typedef int ndn::nfd::StatusDataset::ParamType |
if defined, specifies constructor argument type; otherwise, constructor has no argument
Definition at line 53 of file status-dataset.hpp.
typedef std::vector<int> ndn::nfd::StatusDataset::ResultType |
provides the result type, usually a vector
Definition at line 68 of file status-dataset.hpp.
|
virtualdefault |
Referenced by StatusDataset().
|
explicitprotected |
constructs a StatusDataset instance with given sub-prefix
datasetName | dataset name after top-level prefix, such as faces/list |
Definition at line 28 of file status-dataset.cpp.
References ~StatusDataset().
Referenced by ndn::nfd::StatusDataset::ParseResultError::ParseResultError().
constructs a name prefix for the dataset
prefix | top-level prefix, such as ndn:/localhost/nfd |
Definition at line 36 of file status-dataset.cpp.
References ndn::Name::append().
ResultType ndn::nfd::StatusDataset::parseResult | ( | ConstBufferPtr | payload | ) | const |
parses a result from reassembled payload
payload | reassembled payload |
tlv::Error | cannot parse payload |
Referenced by ndn::nfd::StatusDataset::ParseResultError::ParseResultError().