GRPC C++
1.39.1
|
UnimplementedAsyncResponse should not post user-visible completions to the C++ completion queue, but is generated as a CQ event by the core. More...
Public Member Functions | |
UnimplementedAsyncResponse (UnimplementedAsyncRequest *request) | |
~UnimplementedAsyncResponse () override | |
bool | FinalizeResult (void **tag, bool *status) override |
FinalizeResult must be called before informing user code that the operation bound to the underlying core completion queue tag has completed. More... | |
![]() | |
CallOpSet () | |
CallOpSet (const CallOpSet &other) | |
CallOpSet & | operator= (const CallOpSet &other) |
void | FillOps (Call *call) override |
Fills in grpc_op, starting from ops[*nops] and moving upwards. More... | |
bool | FinalizeResult (void **tag, bool *status) override |
FinalizeResult must be called before informing user code that the operation bound to the underlying core completion queue tag has completed. More... | |
void | set_output_tag (void *return_tag) |
void * | core_cq_tag () override |
Get the tag to be used at the core completion queue. More... | |
void | set_core_cq_tag (void *core_cq_tag) |
set_core_cq_tag is used to provide a different core CQ tag than "this". More... | |
void | SetHijackingState () override |
void | ContinueFillOpsAfterInterception () override |
void | ContinueFinalizeResultAfterInterception () override |
![]() | |
virtual | ~CompletionQueueTag () |
![]() | |
CallOpSendInitialMetadata () | |
void | SendInitialMetadata (std::multimap< std::string, std::string > *metadata, uint32_t flags) |
void | set_compression_level (grpc_compression_level level) |
![]() | |
CallOpServerSendStatus () | |
void | ServerSendStatus (std::multimap< std::string, std::string > *trailing_metadata, const Status &status) |
UnimplementedAsyncResponse should not post user-visible completions to the C++ completion queue, but is generated as a CQ event by the core.
|
explicit |
|
inlineoverride |
|
inlineoverridevirtual |
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.