MCPcopy Create free account
hub / github.com/apache/brpc / CallMethod

Method CallMethod

src/brpc/baidu_master_service.h:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 // implements Service ----------------------------------------------
66
67 void CallMethod(const ::google::protobuf::MethodDescriptor*,
68 ::google::protobuf::RpcController* controller,
69 const ::google::protobuf::Message* request,
70 ::google::protobuf::Message* response,
71 ::google::protobuf::Closure* done) override {
72 ProcessRpcRequest((Controller*)controller,
73 (const SerializedRequest*)request,
74 (SerializedResponse*)response, done);
75 }
76
77 const ::google::protobuf::ServiceDescriptor* GetDescriptor() override {
78 return BaiduMasterServiceBase::descriptor();

Callers

nothing calls this directly

Calls 1

ProcessRpcRequestFunction · 0.85

Tested by

no test coverage detected