diff options
author | Yang Gao <yangg@google.com> | 2015-02-11 11:43:40 -0800 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-02-11 11:43:40 -0800 |
commit | eb8e7cd922a1c45fe581040a9138afa1f99f1404 (patch) | |
tree | ad65383c123b9cc0c677583cd6a2b4db099ff056 /include | |
parent | b84aab79221042607f2ffd7512519434dbee0404 (diff) |
Implement FinalizeResult
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/impl/call.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index d5a865df05..141b16ab5b 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -75,14 +75,14 @@ class CallOpBuffer final : public CompletionQueueTag { void FillOps(grpc_op *ops, size_t *nops); // Called by completion queue just prior to returning from Next() or Pluck() - void FinalizeResult(void *tag, bool *status) override; + void FinalizeResult(void **tag, bool *status) override; private: void *return_tag_ = nullptr; size_t initial_metadata_count_ = 0; grpc_metadata* initial_metadata_ = nullptr; const google::protobuf::Message* send_message_ = nullptr; - grpc_byte_buffer* write_buffer_ = nullptr; + grpc_byte_buffer* send_message_buf_ = nullptr; google::protobuf::Message* recv_message_ = nullptr; grpc_byte_buffer* recv_message_buf_ = nullptr; bool client_send_close_ = false; @@ -90,6 +90,9 @@ class CallOpBuffer final : public CompletionQueueTag { grpc_status_code status_code_ = GRPC_STATUS_OK; char* status_details_ = nullptr; size_t status_details_capacity_ = 0; + Status* send_status_ = nullptr; + size_t trailing_metadata_count_ = 0; + grpc_metadata* trailing_metadata_ = nullptr; }; class CCallDeleter { |