23#ifndef COMMON_RPC_RPCSERVICE_H_
24#define COMMON_RPC_RPCSERVICE_H_
26#include <google/protobuf/service.h>
43 virtual const google::protobuf::ServiceDescriptor* GetDescriptor() = 0;
46 virtual void CallMethod(
const google::protobuf::MethodDescriptor *method,
48 const google::protobuf::Message *request,
49 google::protobuf::Message *response,
52 virtual const google::protobuf::Message& GetRequestPrototype(
53 const google::protobuf::MethodDescriptor *method)
const = 0;
54 virtual const google::protobuf::Message& GetResponsePrototype(
55 const google::protobuf::MethodDescriptor *method)
const = 0;
A 0 arg, single use callback that returns void.
Definition Callback.h:157
A 0 argument callback which deletes itself after it's run.
Definition Callback.h:141
A RpcController object is passed every time an RPC is invoked and is used to indicate the success or ...
Definition RpcController.h:42
Definition RpcService.h:35
The namespace containing all OLA symbols.
Definition Credentials.cpp:44