Client library to handle repo-ng
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
#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.