ndn::nfd::ForwarderGeneralStatusDataset Class Reference

represents a status/general dataset More...

#include <ndn-cxx/mgmt/nfd/status-dataset.hpp>

+ Inheritance diagram for ndn::nfd::ForwarderGeneralStatusDataset:
+ Collaboration diagram for ndn::nfd::ForwarderGeneralStatusDataset:

Public Types

using ParamType = int
 if defined, specifies constructor argument type; otherwise, constructor has no argument More...
 
using ResultType = ForwarderStatus
 

Public Member Functions

 ForwarderGeneralStatusDataset ()
 
Name getDatasetPrefix (const Name &prefix) const
 constructs a name prefix for the dataset More...
 
ResultType parseResult (ConstBufferPtr payload) const
 

Detailed Description

represents a status/general dataset

See also
https://redmine.named-data.net/projects/nfd/wiki/ForwarderStatus#General-Status-Dataset

Definition at line 116 of file status-dataset.hpp.

Member Typedef Documentation

◆ ParamType

using ndn::nfd::StatusDataset::ParamType = int
inherited

if defined, specifies constructor argument type; otherwise, constructor has no argument

Definition at line 54 of file status-dataset.hpp.

◆ ResultType

Constructor & Destructor Documentation

◆ ForwarderGeneralStatusDataset()

ndn::nfd::ForwarderGeneralStatusDataset::ForwarderGeneralStatusDataset ( )

Definition at line 80 of file status-dataset.cpp.

Member Function Documentation

◆ getDatasetPrefix()

Name ndn::nfd::StatusDataset::getDatasetPrefix ( const Name prefix) const
inherited

constructs a name prefix for the dataset

Parameters
prefixtop-level prefix, such as ndn:/localhost/nfd
Returns
name prefix without version and segment components

Definition at line 36 of file status-dataset.cpp.

◆ parseResult()

ForwarderGeneralStatusDataset::ResultType ndn::nfd::ForwarderGeneralStatusDataset::parseResult ( ConstBufferPtr  payload) const

Definition at line 86 of file status-dataset.cpp.