diff options
author | 2015-03-03 09:48:06 -0800 | |
---|---|---|
committer | 2015-03-03 09:48:06 -0800 | |
commit | 7694c35d5f9c85ea844755d35f7d78d76e38348c (patch) | |
tree | e34309aa27b3519ed4885454751c1a1e50735a52 /src/cpp/server/async_server_context.cc | |
parent | 4e233a1a4653699bda751ef38923c7d755093d2c (diff) |
Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed
Diffstat (limited to 'src/cpp/server/async_server_context.cc')
-rw-r--r-- | src/cpp/server/async_server_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/server/async_server_context.cc b/src/cpp/server/async_server_context.cc index 5f8c2ba10f..bee75497b8 100644 --- a/src/cpp/server/async_server_context.cc +++ b/src/cpp/server/async_server_context.cc @@ -58,14 +58,14 @@ void AsyncServerContext::Accept(grpc_completion_queue *cq) { call_, GRPC_WRITE_BUFFER_HINT) == GRPC_CALL_OK); } -bool AsyncServerContext::StartRead(google::protobuf::Message *request) { +bool AsyncServerContext::StartRead(grpc::protobuf::Message *request) { GPR_ASSERT(request); request_ = request; grpc_call_error err = grpc_call_start_read_old(call_, this); return err == GRPC_CALL_OK; } -bool AsyncServerContext::StartWrite(const google::protobuf::Message &response, +bool AsyncServerContext::StartWrite(const grpc::protobuf::Message &response, int flags) { grpc_byte_buffer *buffer = nullptr; if (!SerializeProto(response, &buffer)) { |