Fixing Proto file
[ric-app/ts.git] / ext / protobuf / rc.grpc.pb.cc
similarity index 59%
rename from ext/protobuf/api.grpc.pb.cc
rename to ext/protobuf/rc.grpc.pb.cc
index ac1f186..504ff94 100644 (file)
@@ -1,9 +1,9 @@
 // Generated by the gRPC C++ plugin.
 // If you make any local change, they will be lost.
-// source: api.proto
+// source: rc.proto
 
-#include "api.pb.h"
-#include "api.grpc.pb.h"
+#include "rc.pb.h"
+#include "rc.grpc.pb.h"
 
 #include <functional>
 #include <grpcpp/impl/codegen/async_stream.h>
 #include <grpcpp/impl/codegen/rpc_service_method.h>
 #include <grpcpp/impl/codegen/service_type.h>
 #include <grpcpp/impl/codegen/sync_stream.h>
-namespace api {
+namespace rc {
 
 static const char* MsgComm_method_names[] = {
-  "/api.MsgComm/SendRICControlReqServiceGrpc",
+  "/rc.MsgComm/SendRICControlReqServiceGrpc",
 };
 
 std::unique_ptr< MsgComm::Stub> MsgComm::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
@@ -31,34 +31,34 @@ MsgComm::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel)
   : channel_(channel), rpcmethod_SendRICControlReqServiceGrpc_(MsgComm_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
   {}
 
-::grpc::Status MsgComm::Stub::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::api::RicControlGrpcRsp* response) {
+::grpc::Status MsgComm::Stub::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::rc::RicControlGrpcRsp* response) {
   return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SendRICControlReqServiceGrpc_, context, request, response);
 }
 
-void MsgComm::Stub::experimental_async::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response, std::function<void(::grpc::Status)> f) {
+void MsgComm::Stub::experimental_async::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response, std::function<void(::grpc::Status)> f) {
   return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SendRICControlReqServiceGrpc_, context, request, response, std::move(f));
 }
 
-::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* MsgComm::Stub::AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) {
-  return ::grpc::internal::ClientAsyncResponseReaderFactory< ::api::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, true);
+::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* MsgComm::Stub::AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) {
+  return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rc::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, true);
 }
 
-::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* MsgComm::Stub::PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) {
-  return ::grpc::internal::ClientAsyncResponseReaderFactory< ::api::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, false);
+::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* MsgComm::Stub::PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) {
+  return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rc::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, false);
 }
 
 MsgComm::Service::Service() {
   AddMethod(new ::grpc::internal::RpcServiceMethod(
       MsgComm_method_names[0],
       ::grpc::internal::RpcMethod::NORMAL_RPC,
-      new ::grpc::internal::RpcMethodHandler< MsgComm::Service, ::api::RicControlGrpcReq, ::api::RicControlGrpcRsp>(
+      new ::grpc::internal::RpcMethodHandler< MsgComm::Service, ::rc::RicControlGrpcReq, ::rc::RicControlGrpcRsp>(
           std::mem_fn(&MsgComm::Service::SendRICControlReqServiceGrpc), this)));
 }
 
 MsgComm::Service::~Service() {
 }
 
-::grpc::Status MsgComm::Service::SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) {
+::grpc::Status MsgComm::Service::SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) {
   (void) context;
   (void) request;
   (void) response;
@@ -66,5 +66,5 @@ MsgComm::Service::~Service() {
 }
 
 
-}  // namespace api
+}  // namespace rc