Add ListResponse - response class for ListRequest 45/31045/4
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Sat, 29 Nov 2014 15:02:20 +0000 (16:02 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Wed, 10 Dec 2014 19:04:24 +0000 (20:04 +0100)
commit55e12b580b4e0c66edcec6765dc8bc809b8d258e
tree32ea78b51c5fc1d726b6d414f5517a36236306c8
parent3b75361a78f41f40d14d81ca9997167e22f2ae8d
Add ListResponse - response class for ListRequest

Introduced class wraps a response for policies list that can be sent
by admin of cynara. Response contains vector of matched policies and
boolean information about bucket validity. If there is no bucket with
name that was passed in request - returned vector is empty and bucket
validity is false.

Change-Id: I208555f7a991e0dc4a531312ebbbef658c95f22b
src/common/CMakeLists.txt
src/common/response/ListResponse.cpp [new file with mode: 0644]
src/common/response/ListResponse.h [new file with mode: 0644]
src/common/response/ResponseTaker.cpp
src/common/response/ResponseTaker.h
src/common/response/pointers.h