NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::ForwarderGeneralStatusDataset Class Reference

represents a status/general dataset More...

#include <status-dataset.hpp>

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

Public Types

using ResultType = ForwarderStatus
 
- Public Types inherited from ndn::nfd::StatusDataset
using ParamType = int
 if defined, specifies constructor argument type; otherwise, constructor has no argument More...
 
using ResultType = std::vector< int >
 provides the result type, usually a vector More...
 

Public Member Functions

 ForwarderGeneralStatusDataset ()
 
ResultType parseResult (ConstBufferPtr payload) const
 
- Public Member Functions inherited from ndn::nfd::StatusDataset
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...
 

Additional Inherited Members

- Protected Member Functions inherited from ndn::nfd::StatusDataset
 StatusDataset (const PartialName &datasetName)
 constructs a StatusDataset instance with given sub-prefix More...
 

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

◆ ResultType

Constructor & Destructor Documentation

◆ ForwarderGeneralStatusDataset()

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

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

Member Function Documentation

◆ parseResult()

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

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

References ndn::tlv::Content, and nonstd::optional_lite::std11::move().


The documentation for this class was generated from the following files: