Project

General

Profile

Task #1858

Client library to handle repo-ng

Added by Shuo Chen almost 5 years ago. Updated over 4 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

History

#1 Updated by Alex Afanasyev almost 5 years ago

  • Description updated (diff)

#2 Updated by Weiqi Shi almost 5 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)

#3 Updated by Weiqi Shi over 4 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.

Also available in: Atom PDF