Project

General

Profile

Actions

Task #1858

open

Client library to handle repo-ng

Added by Shuo Chen over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/13/2014
Due date:
% Done:

0%

Estimated time:

Description

Client library is in need to generate RepoCommandParameter and interest more conveniently. Function as follows needs to be written.

generateRepoCommandParameter(...);
generateRepoCommandInterest(Name repoPrefix, Name commandVerb, RepoCommandParameter parameter, Indentity commandIdentity, Identity data Identity);
extractRepoCommandInterest(Data& repoCommandResponse, RepoCommandParameter& parameter);
uint64_t generateProcessId();  //create uint64_t random number
Actions #1

Updated by Alex Afanasyev over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Weiqi Shi over 10 years ago

I am not sure whether the function extractRepoCommandInterest(Data& repoCommandResponse, RepoCommandParameter& parameter) is stated clear. In my opinion, this function should be separated as two: extractRepoCommandResponse(Data& reply, RepoCommandResponse& response) and extractRepoCommandParameter(Interest interest, Name prefix, RepocommandParameter parameter)

Actions #3

Updated by Weiqi Shi over 10 years ago

After reconsideration, this issue seems meaningless since the efforts to implement these function are equal or even less then the efforts to call these functions in most cases. Documents will be introduced to give users instruction how to build the clients and set parameters.

Actions

Also available in: Atom PDF