#include <grpc_types.h>
Public Attributes | |
int | success |
void * | tag |
grpc_completion_type | type |
The result of an operation.
Returned by a completion queue when the operation started with tag.
Definition at line 564 of file grpc_types.h.
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
Definition at line 572 of file grpc_types.h.
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.
Definition at line 576 of file grpc_types.h.
grpc_completion_type grpc_event::type |
The type of the completion.
Definition at line 566 of file grpc_types.h.