|
|
|
@ -62,48 +62,7 @@ void grpc_cq_begin_op(grpc_completion_queue *cc, grpc_call *call, |
|
|
|
|
|
|
|
|
|
Other parameters match the data member of grpc_event */ |
|
|
|
|
|
|
|
|
|
/* Queue a GRPC_READ operation */ |
|
|
|
|
void grpc_cq_end_read(grpc_completion_queue *cc, void *tag, grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, void *user_data, |
|
|
|
|
grpc_byte_buffer *read); |
|
|
|
|
/* Queue a GRPC_INVOKE_ACCEPTED operation */ |
|
|
|
|
void grpc_cq_end_invoke_accepted(grpc_completion_queue *cc, void *tag, |
|
|
|
|
grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, |
|
|
|
|
void *user_data, grpc_op_error error); |
|
|
|
|
/* Queue a GRPC_WRITE_ACCEPTED operation */ |
|
|
|
|
void grpc_cq_end_write_accepted(grpc_completion_queue *cc, void *tag, |
|
|
|
|
grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, |
|
|
|
|
void *user_data, grpc_op_error error); |
|
|
|
|
/* Queue a GRPC_FINISH_ACCEPTED operation */ |
|
|
|
|
void grpc_cq_end_finish_accepted(grpc_completion_queue *cc, void *tag, |
|
|
|
|
grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, |
|
|
|
|
void *user_data, grpc_op_error error); |
|
|
|
|
/* Queue a GRPC_OP_COMPLETED operation */ |
|
|
|
|
void grpc_cq_end_op_complete(grpc_completion_queue *cc, void *tag, |
|
|
|
|
grpc_call *call, grpc_event_finish_func on_finish, |
|
|
|
|
void *user_data, grpc_op_error error); |
|
|
|
|
/* Queue a GRPC_CLIENT_METADATA_READ operation */ |
|
|
|
|
void grpc_cq_end_client_metadata_read(grpc_completion_queue *cc, void *tag, |
|
|
|
|
grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, |
|
|
|
|
void *user_data, size_t count, |
|
|
|
|
grpc_metadata *elements); |
|
|
|
|
|
|
|
|
|
void grpc_cq_end_finished(grpc_completion_queue *cc, void *tag, grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, void *user_data, |
|
|
|
|
grpc_status_code status, const char *details, |
|
|
|
|
grpc_metadata *metadata_elements, |
|
|
|
|
size_t metadata_count); |
|
|
|
|
|
|
|
|
|
void grpc_cq_end_new_rpc(grpc_completion_queue *cc, void *tag, grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, void *user_data, |
|
|
|
|
const char *method, const char *host, |
|
|
|
|
gpr_timespec deadline, size_t metadata_count, |
|
|
|
|
grpc_metadata *metadata_elements); |
|
|
|
|
|
|
|
|
|
void grpc_cq_end_op(grpc_completion_queue *cc, void *tag, grpc_call *call, |
|
|
|
|
grpc_event_finish_func on_finish, void *user_data, |
|
|
|
|
grpc_op_error error); |
|
|
|
|