#include <server_interface.h>
◆ BaseAsyncRequest()
◆ ~BaseAsyncRequest()
grpc::ServerInterface::BaseAsyncRequest::~BaseAsyncRequest |
( |
| ) |
|
|
override |
◆ FinalizeResult()
bool grpc::ServerInterface::BaseAsyncRequest::FinalizeResult |
( |
void ** |
tag, |
|
|
bool * |
status |
|
) |
| |
|
overridevirtual |
FinalizeResult must be called before informing user code that the operation bound to the underlying core completion queue tag has completed.
In practice, this means:
- For the sync API - before returning from Pluck
- For the CQ-based async API - before returning from Next
- For the callback-based API - before invoking the user callback
This is the method that translates from core-side tag/status to C++ API-observable tag/status.
The return value is the status of the operation (returning status is the general behavior of this function). If this function returns false, the tag is dropped and not returned from the completion queue: this concept is for events that are observed at core but not requested by the user application (e.g., server shutdown, for server unimplemented method responses, or for cases where a server-side RPC doesn't have a completion notification registered using AsyncNotifyWhenDone)
Implements grpc::internal::CompletionQueueTag.
Reimplemented in grpc::ServerInterface::GenericAsyncRequest, grpc::ServerInterface::PayloadAsyncRequest< Message >, and grpc::ServerInterface::RegisteredAsyncRequest.
◆ call_
grpc_call* grpc::ServerInterface::BaseAsyncRequest::call_ |
|
protected |
◆ call_cq_
◆ call_metric_recording_enabled_
bool grpc::ServerInterface::BaseAsyncRequest::call_metric_recording_enabled_ |
|
protected |
◆ call_wrapper_
◆ context_
◆ delete_on_finalize_
const bool grpc::ServerInterface::BaseAsyncRequest::delete_on_finalize_ |
|
protected |
◆ done_intercepting_
bool grpc::ServerInterface::BaseAsyncRequest::done_intercepting_ |
|
protected |
◆ interceptor_methods_
◆ notification_cq_
◆ server_
◆ server_metric_recorder_
◆ stream_
◆ tag_
void* const grpc::ServerInterface::BaseAsyncRequest::tag_ |
|
protected |
The documentation for this class was generated from the following file: