40 virtual ~RpcService() {}
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,
50 CompletionCallback *done) = 0;
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;