From 43d6c8ae3c9bb1bc365dc5435dd479367d70d13c Mon Sep 17 00:00:00 2001 From: lampayan Date: Wed, 8 Jun 2016 11:17:48 +0200 Subject: [PATCH] cleanup removing temporary classes --- etcd/DeleteRpcResponse.h | 30 ------------------------------ src/DeleteRpcResponse.cpp | 38 -------------------------------------- 2 files changed, 68 deletions(-) delete mode 100644 etcd/DeleteRpcResponse.h delete mode 100644 src/DeleteRpcResponse.cpp diff --git a/etcd/DeleteRpcResponse.h b/etcd/DeleteRpcResponse.h deleted file mode 100644 index 77aaffe..0000000 --- a/etcd/DeleteRpcResponse.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * DeleteRpcResponse.h - * - * Created on: Jun 5, 2016 - * Author: ubuntu - */ - -//#ifndef SRC_DELETERPCRESPONSE_H_ -//#define SRC_DELETERPCRESPONSE_H_ -// -//#include "etcd/Response.hpp" -//#include "proto/rpc.grpc.pb.h" -// -//namespace etcd { -//class DeleteRpcResponse : public etcd::Response, public etcd::Value { -//public: -// DeleteRpcResponse(); -// virtual ~DeleteRpcResponse(); -// void fillUpV2ResponseValues(etcdserverpb::RangeResponse); -// -// etcdserverpb::DeleteRangeResponse deleteResponse; -// -// grpc::Status status; -// grpc::ClientContext context; -// grpc::CompletionQueue cq_; -// -// std::unique_ptr> rpcInstance; -//}; -//} -//#endif /* SRC_DELETERPCRESPONSE_H_ */ diff --git a/src/DeleteRpcResponse.cpp b/src/DeleteRpcResponse.cpp deleted file mode 100644 index 0f33f96..0000000 --- a/src/DeleteRpcResponse.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* - * DeleteRpcResponse.cpp - * - * Created on: Jun 5, 2016 - * Author: ubuntu - */ - -//#include "etcd/DeleteRpcResponse.h" -//#include -// -//etcd::DeleteRpcResponse::DeleteRpcResponse() { -// // TODO Auto-generated constructor stub -// -//} -// -//etcd::DeleteRpcResponse::~DeleteRpcResponse() { -// // TODO Auto-generated destructor stub -//} -// -//void etcd::DeleteRpcResponse::fillUpV2ResponseValues(etcdserverpb::RangeResponse getResponse) { -// std::cout << "inside fillup attempting fillupv2 response values" << std::endl; -// -// std::cout << "setting the value of: " << getResponse.kvs().Get(0).value() << std::endl; -// _prev_value.value = getResponse.kvs().Get(0).value(); -// _action = "delete"; -// -//// //the experiments done on how to fill up the field of this object. -//// //access the fields na protected sa Value -//// this->Value::value = "yeah"; -//// std::cout << "pre contents: " << this->_value.as_string() << std::endl; -//// -//// //or create an instance here and return it filled up -//// DeleteRpcResponse r; -//// r.Value::value = "yo!"; -//// this->_value = r; //strip off value part -//// -//// std::cout << "contents: " << this->_value.as_string() << std::endl; -//}