Project

General

Profile

Actions

Feature #3329

closed

Controller: client for StatusDataset

Added by Junxiao Shi about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
6.00 h

Description

Add StatusDataset client functionality into ndn::nfd::Controller.

Currently, ndn::nfd::Controller contains a client for NFD ControlCommand.
An application can easily execute a command on the local NFD with controller.start<FaceCreateCommand>, and need not know the details such as the exact name for this command.

However, there's a disparity for NFD StatusDataset, which is another major part of NFD Management protocol.
An application must manually construct the name of a dataset, use SegmentFetcher to obtain the contents, and then manually parse the dataset.

To simplify applications, StatusDataset client shall be integrated into ndn::nfd::Controller.

An application can request a dataset using a syntax like:

controller.fetch<FaceDataset>(onSuccess, onFailure, options);
controller.fetch<FaceQueryDataset>(faceQueryFilter, onSuccess, onFailure, options);

Related issues 5 (0 open5 closed)

Blocks NFD - Task #3620: RibManager: fetch face dataset with StatusDataset clientClosedWeiwei Liu

Actions
Blocks ndn-cxx - Feature #3653: Controller: response validationClosedJunxiao Shi

Actions
Blocks NFD - Feature #3658: nfd-status: fetch datasets with StatusDataset clientClosedJunxiao Shi

Actions
Blocks NFD - Task #3659: nfd-autoreg: fetch face dataset with StatusDataset clientClosedWeiwei Liu

Actions
Blocks NFD - Task #3660: nfdc: fetch face query dataset with StatusDataset clientRejected

Actions
Actions

Also available in: Atom PDF