Derive Protocol from RequestTaker
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 26 Jun 2014 10:27:35 +0000 (12:27 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 3 Jul 2014 12:19:10 +0000 (14:19 +0200)
Protocol will play role of RequestTaker on library side of Cynara.

Change-Id: Ife92e6f634bfd9e566b6f4f3c2b331022e961de7

src/service/protocol/Protocol.h

index 5500cba..984e528 100644 (file)
 #include <common.h>
 
 #include <request/pointers.h>
+#include <request/RequestTaker.h>
 #include <response/ResponseTaker.h>
 
 namespace Cynara {
 
-class Protocol : public ResponseTaker {
+class Protocol : public RequestTaker, public ResponseTaker {
 public:
     Protocol() = default;
     virtual ~Protocol() = default;