{"action":"created","comment":{"url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments/36906135","id":36906135,"diff_hunk":"@@ -0,0 +1,76 @@\n+#include \"source/ClientRequest/AMDSClientRelativeCountPlusCountDataRequest.h\"\n+\n+#include \"source/AMDSDataStream.h\"\n+\n+AMDSClientRelativeCountPlusCountDataRequest::AMDSClientRelativeCountPlusCountDataRequest(QObject *parent) :\n+\tAMDSClientDataRequest(parent)\n+{\n+\tsetRequestType(AMDSClientRequestDefinitions::RelativeCountPlusCount);\n+\n+\tsetRelativeCount(0);\n+\tsetCount(1);\n+}\n+\n+AMDSClientRelativeCountPlusCountDataRequest::AMDSClientRelativeCountPlusCountDataRequest(ResponseType responseType, const QString &socketKey, const QString &bufferName, bool includeStatusData, const quint64 relativeCount, quint64 count, const AMDSBufferGroupInfo &bufferGroupInfo, QObject *parent):\n+\tAMDSClientDataRequest(socketKey, QString(), AMDSClientRequestDefinitions::RelativeCountPlusCount, responseType, bufferName, includeStatusData, bufferGroupInfo, parent)\n+{\n+\tsetRelativeCount(relativeCount);\n+\tsetCount(count);\n+}\n+\n+AMDSClientRelativeCountPlusCountDataRequest::~AMDSClientRelativeCountPlusCountDataRequest()\n+{\n+\n+}\n+\n+AMDSClientRelativeCountPlusCountDataRequest::AMDSClientRelativeCountPlusCountDataRequest(const AMDSClientRelativeCountPlusCountDataRequest &other):\n+\tAMDSClientDataRequest(other)\n+{\n+\t(*this) = other;\n+}\n+\n+AMDSClientRelativeCountPlusCountDataRequest& AMDSClientRelativeCountPlusCountDataRequest::operator =(const AMDSClientRelativeCountPlusCountDataRequest &other)\n+{\n+\tif(this != &other){\n+\t\tAMDSClientDataRequest::operator =(other);\n+\t\tsetRelativeCount(other.relativeCount());\n+\t\tsetCount(other.count());\n+\t}\n+\treturn (*this);\n+}\n+\n+bool AMDSClientRelativeCountPlusCountDataRequest::writeToDataStream(AMDSDataStream *dataStream) const\n+{\n+\tif(!AMDSClientDataRequest::writeToDataStream(dataStream))","path":"source/ClientRequest/AMDSClientRelativeCountPlusCountDataRequest.cpp","position":44,"original_position":44,"commit_id":"e94dfee2fcbde4bd7ac48795d788531cb425910c","original_commit_id":"e94dfee2fcbde4bd7ac48795d788531cb425910c","user":{"login":"XuetaoLiu-CLS","id":8292610,"avatar_url":"https://avatars.githubusercontent.com/u/8292610?v=3","gravatar_id":"","url":"https://api.github.com/users/XuetaoLiu-CLS","html_url":"https://github.com/XuetaoLiu-CLS","followers_url":"https://api.github.com/users/XuetaoLiu-CLS/followers","following_url":"https://api.github.com/users/XuetaoLiu-CLS/following{/other_user}","gists_url":"https://api.github.com/users/XuetaoLiu-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/XuetaoLiu-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuetaoLiu-CLS/subscriptions","organizations_url":"https://api.github.com/users/XuetaoLiu-CLS/orgs","repos_url":"https://api.github.com/users/XuetaoLiu-CLS/repos","events_url":"https://api.github.com/users/XuetaoLiu-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/XuetaoLiu-CLS/received_events","type":"User","site_admin":false},"body":"@dretrex at this moment, we will have only true/false for this. I agree that it will be great to be more specific so that it will easier for us to address the errors.\r\n\r\nI will add a story for this, with which, I can fix all the ClientRequest messages together.","created_at":"2015-08-12T19:59:28Z","updated_at":"2015-08-12T19:59:28Z","html_url":"https://github.com/acquaman/AcquamanDataServer/pull/52#discussion_r36906135","pull_request_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments/36906135"},"html":{"href":"https://github.com/acquaman/AcquamanDataServer/pull/52#discussion_r36906135"},"pull_request":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52","id":41937849,"html_url":"https://github.com/acquaman/AcquamanDataServer/pull/52","diff_url":"https://github.com/acquaman/AcquamanDataServer/pull/52.diff","patch_url":"https://github.com/acquaman/AcquamanDataServer/pull/52.patch","issue_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/52","number":52,"state":"open","locked":false,"title":"PullRequest for Issue7: implement the RelativeCountPlusCount client request type","user":{"login":"XuetaoLiu-CLS","id":8292610,"avatar_url":"https://avatars.githubusercontent.com/u/8292610?v=3","gravatar_id":"","url":"https://api.github.com/users/XuetaoLiu-CLS","html_url":"https://github.com/XuetaoLiu-CLS","followers_url":"https://api.github.com/users/XuetaoLiu-CLS/followers","following_url":"https://api.github.com/users/XuetaoLiu-CLS/following{/other_user}","gists_url":"https://api.github.com/users/XuetaoLiu-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/XuetaoLiu-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuetaoLiu-CLS/subscriptions","organizations_url":"https://api.github.com/users/XuetaoLiu-CLS/orgs","repos_url":"https://api.github.com/users/XuetaoLiu-CLS/repos","events_url":"https://api.github.com/users/XuetaoLiu-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/XuetaoLiu-CLS/received_events","type":"User","site_admin":false},"body":"implement the RelativeCountPlusCount client request type\r\nadd the client project\r\n\r\nhttps://github.com/acquaman/AcquamanDataServer/issues/7","created_at":"2015-08-07T22:06:22Z","updated_at":"2015-08-12T19:59:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c79c096a878f819a9d58f795990cdc78c5bb7ab1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52/commits","review_comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52/comments","review_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/52/comments","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/e94dfee2fcbde4bd7ac48795d788531cb425910c","head":{"label":"acquaman:Issue7","ref":"Issue7","sha":"e94dfee2fcbde4bd7ac48795d788531cb425910c","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":37996517,"name":"AcquamanDataServer","full_name":"acquaman/AcquamanDataServer","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/AcquamanDataServer","description":"Server architecture to provide a network and storage efficient data cache","fork":false,"url":"https://api.github.com/repos/acquaman/AcquamanDataServer","forks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/forks","keys_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/teams","hooks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/hooks","issue_events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/events","assignees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/tags","blobs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/languages","stargazers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/stargazers","contributors_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contributors","subscribers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscribers","subscription_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscription","commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/merges","archive_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/downloads","issues_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/releases{/id}","created_at":"2015-06-24T16:27:18Z","updated_at":"2015-07-21T14:39:58Z","pushed_at":"2015-08-12T18:02:08Z","git_url":"git://github.com/acquaman/AcquamanDataServer.git","ssh_url":"git@github.com:acquaman/AcquamanDataServer.git","clone_url":"https://github.com/acquaman/AcquamanDataServer.git","svn_url":"https://github.com/acquaman/AcquamanDataServer","homepage":"","size":420,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":32,"forks":0,"open_issues":32,"watchers":2,"default_branch":"master"}},"base":{"label":"acquaman:Issue6","ref":"Issue6","sha":"63d456392996ab6bb5c7c44b42f72ef7876d0225","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":37996517,"name":"AcquamanDataServer","full_name":"acquaman/AcquamanDataServer","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=3","gravatar_id":"","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/AcquamanDataServer","description":"Server architecture to provide a network and storage efficient data cache","fork":false,"url":"https://api.github.com/repos/acquaman/AcquamanDataServer","forks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/forks","keys_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/teams","hooks_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/hooks","issue_events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/events","assignees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/tags","blobs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/languages","stargazers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/stargazers","contributors_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contributors","subscribers_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscribers","subscription_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/subscription","commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/merges","archive_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/downloads","issues_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/releases{/id}","created_at":"2015-06-24T16:27:18Z","updated_at":"2015-07-21T14:39:58Z","pushed_at":"2015-08-12T18:02:08Z","git_url":"git://github.com/acquaman/AcquamanDataServer.git","ssh_url":"git@github.com:acquaman/AcquamanDataServer.git","clone_url":"https://github.com/acquaman/AcquamanDataServer.git","svn_url":"https://github.com/acquaman/AcquamanDataServer","homepage":"","size":420,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":32,"forks":0,"open_issues":32,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52"},"html":{"href":"https://github.com/acquaman/AcquamanDataServer/pull/52"},"issue":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/52"},"comments":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/acquaman/AcquamanDataServer/statuses/e94dfee2fcbde4bd7ac48795d788531cb425910c"}}}}