#include <server_interface.h>
Public Member Functions | |
BaseAsyncRequest (ServerInterface *server, grpc::ServerContext *context, internal::ServerAsyncStreamingInterface *stream, grpc::CompletionQueue *call_cq, grpc::ServerCompletionQueue *notification_cq, void *tag, bool delete_on_finalize) | |
bool | FinalizeResult (void **tag, bool *status) override |
~BaseAsyncRequest () override | |
![]() | |
virtual | ~CompletionQueueTag () |
Private Member Functions | |
void | ContinueFinalizeResultAfterInterception () |
Definition at line 167 of file grpcpp/impl/codegen/server_interface.h.
grpc::ServerInterface::BaseAsyncRequest::BaseAsyncRequest | ( | ServerInterface * | server, |
grpc::ServerContext * | context, | ||
internal::ServerAsyncStreamingInterface * | stream, | ||
grpc::CompletionQueue * | call_cq, | ||
grpc::ServerCompletionQueue * | notification_cq, | ||
void * | tag, | ||
bool | delete_on_finalize | ||
) |
Definition at line 145 of file server_cc.cc.
|
override |
Definition at line 166 of file server_cc.cc.
|
private |
Definition at line 217 of file server_cc.cc.
|
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:
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.
Definition at line 170 of file server_cc.cc.
|
protected |
Definition at line 189 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 185 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 190 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 183 of file grpcpp/impl/codegen/server_interface.h.
Definition at line 188 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 192 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 191 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 186 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 182 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 184 of file grpcpp/impl/codegen/server_interface.h.
|
protected |
Definition at line 187 of file grpcpp/impl/codegen/server_interface.h.