59 return [token, methodId, methodName, outputDescriptor](
ServiceBase* service,
uint32 status, ::google::protobuf::Message
const* response)
61 ASSERT(response->GetDescriptor() == outputDescriptor);
62 TC_LOG_DEBUG(
"service.protobuf",
"{} Client called server method {}() {}{{ {} }} status {}.",
63 service->GetCallerInfo(), methodName, outputDescriptor->full_name(), response->ShortDebugString(), status);
65 service->SendResponse(service->GetServiceHash(), methodId, token, response);
67 service->SendResponse(service->GetServiceHash(), methodId, token, status);
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> CreateServerContinuation(uint32 token, uint32 methodId, char const *methodName, google::protobuf::Descriptor const *outputDescriptor)