GRPC C++
1.66.0
|
The result of an operation. More...
#include <grpc_types.h>
Data Fields | |
grpc_completion_type | type |
The type of the completion. More... | |
int | success |
If the grpc_completion_type is GRPC_OP_COMPLETE, this field indicates whether the operation was successful or not; 0 in case of failure and non-zero in case of success. More... | |
void * | tag |
The tag passed to grpc_call_start_batch etc to start this operation. More... | |
The result of an operation.
Returned by a completion queue when the operation started with tag.
int grpc_event::success |
If the grpc_completion_type is GRPC_OP_COMPLETE, this field indicates whether the operation was successful or not; 0 in case of failure and non-zero in case of success.
If grpc_completion_type is GRPC_QUEUE_SHUTDOWN or GRPC_QUEUE_TIMEOUT, this field is guaranteed to be 0
void* grpc_event::tag |
The tag passed to grpc_call_start_batch etc to start this operation.
Only* GRPC_OP_COMPLETE has a tag. For all other grpc_completion_type values, tag is uninitialized.
grpc_completion_type grpc_event::type |
The type of the completion.