GRPC C++
1.26.0
|
CallbackWithSuccessTag can be reused multiple times, and will be used in this fashion for streaming operations. More...
#include <callback_common.h>
Public Member Functions | |
CallbackWithSuccessTag () | |
CallbackWithSuccessTag (grpc_call *call, std::function< void(bool)> f, CompletionQueueTag *ops, bool can_inline) | |
CallbackWithSuccessTag (const CallbackWithSuccessTag &)=delete | |
CallbackWithSuccessTag & | operator= (const CallbackWithSuccessTag &)=delete |
~CallbackWithSuccessTag () | |
void | Set (grpc_call *call, std::function< void(bool)> f, CompletionQueueTag *ops, bool can_inline) |
void | Clear () |
CompletionQueueTag * | ops () |
void | force_run (bool ok) |
operator bool () const | |
check if this tag is currently set More... | |
Static Public Member Functions | |
static void | operator delete (void *, std::size_t size) |
static void | operator delete (void *, void *) |
Additional Inherited Members | |
![]() | |
void(* | functor_run )(struct grpc_experimental_completion_queue_functor *, int) |
The run member specifies a function that will be called when this tag is extracted from the completion queue. More... | |
int | inlineable |
The inlineable member specifies whether this functor can be run inline. More... | |
int | internal_success |
The following fields are not API. More... | |
struct grpc_experimental_completion_queue_functor * | internal_next |
CallbackWithSuccessTag can be reused multiple times, and will be used in this fashion for streaming operations.
As a result, it shouldn't clear anything up until its destructor
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
check if this tag is currently set
|
inlinestatic |
|
inlinestatic |
|
delete |
|
inline |
|
inline |