◆ CompletionOp() [1/3]
◆ CompletionOp() [2/3]
grpc::ServerContextBase::CompletionOp::CompletionOp |
( |
const CompletionOp & |
| ) |
|
|
delete |
◆ CompletionOp() [3/3]
grpc::ServerContextBase::CompletionOp::CompletionOp |
( |
CompletionOp && |
| ) |
|
|
delete |
◆ ~CompletionOp()
grpc::ServerContextBase::CompletionOp::~CompletionOp |
( |
| ) |
|
|
inlineoverride |
◆ CheckCancelled()
bool grpc::ServerContextBase::CompletionOp::CheckCancelled |
( |
CompletionQueue * |
cq | ) |
|
|
inline |
◆ CheckCancelledAsync()
bool grpc::ServerContextBase::CompletionOp::CheckCancelledAsync |
( |
| ) |
|
|
inline |
◆ ContinueFillOpsAfterInterception()
void grpc::ServerContextBase::CompletionOp::ContinueFillOpsAfterInterception |
( |
| ) |
|
|
inlineoverridevirtual |
◆ ContinueFinalizeResultAfterInterception()
void grpc::ServerContextBase::CompletionOp::ContinueFinalizeResultAfterInterception |
( |
| ) |
|
|
inlineoverridevirtual |
◆ core_cq_tag()
void* grpc::ServerContextBase::CompletionOp::core_cq_tag |
( |
| ) |
|
|
inlineoverridevirtual |
Get the tag to be used at the core completion queue.
Generally, the value of core_cq_tag will be "this". However, it can be overridden if we want core to process the tag differently (e.g., as a core callback)
Implements grpc::internal::CallOpSetInterface.
◆ FillOps()
void grpc::ServerContextBase::CompletionOp::FillOps |
( |
internal::Call * |
call | ) |
|
|
overridevirtual |
◆ FinalizeResult()
bool grpc::ServerContextBase::CompletionOp::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.
◆ operator delete() [1/2]
static void grpc::ServerContextBase::CompletionOp::operator delete |
( |
void * |
, |
|
|
std::size_t |
size |
|
) |
| |
|
inlinestatic |
◆ operator delete() [2/2]
static void grpc::ServerContextBase::CompletionOp::operator delete |
( |
void * |
, |
|
|
void * |
|
|
) |
| |
|
inlinestatic |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_core_cq_tag()
void grpc::ServerContextBase::CompletionOp::set_core_cq_tag |
( |
void * |
core_cq_tag | ) |
|
|
inline |
◆ set_tag()
void grpc::ServerContextBase::CompletionOp::set_tag |
( |
void * |
tag | ) |
|
|
inline |
◆ SetHijackingState()
void grpc::ServerContextBase::CompletionOp::SetHijackingState |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Unref()
void grpc::ServerContextBase::CompletionOp::Unref |
( |
| ) |
|
The documentation for this class was generated from the following file: