aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-14 16:17:21 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-14 16:17:21 -0800
commit808632ed4b9757c79bfbb8917ec79ca4a4a614d0 (patch)
treebfd50947d90f2e5de3447d9137f11561662b2356
parentca757968110a4ed0004a85e2357a2f277a0a54a6 (diff)
Remove grpc_call_start_invoke
-rw-r--r--include/grpc/grpc.h7
-rw-r--r--src/core/surface/call.c15
2 files changed, 0 insertions, 22 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 8ab3d25873..f9a28e6f69 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -313,8 +313,6 @@ grpc_call_error grpc_call_add_metadata(grpc_call *call, grpc_metadata *metadata,
flags is a bit-field combination of the write flags defined above.
REQUIRES: Can be called at most once per call.
Can only be called on the client.
- Produces a GRPC_INVOKE_ACCEPTED event with invoke_accepted_tag when the
- call has been invoked (meaning bytes can start flowing to the wire).
Produces a GRPC_CLIENT_METADATA_READ event with metadata_read_tag when
the servers initial metadata has been read.
Produces a GRPC_FINISHED event with finished_tag when the call has been
@@ -323,11 +321,6 @@ grpc_call_error grpc_call_add_metadata(grpc_call *call, grpc_metadata *metadata,
grpc_call_error grpc_call_invoke(grpc_call *call, grpc_completion_queue *cq,
void *metadata_read_tag, void *finished_tag,
gpr_uint32 flags);
-grpc_call_error grpc_call_start_invoke(grpc_call *call,
- grpc_completion_queue *cq,
- void *invoke_accepted_tag,
- void *metadata_read_tag,
- void *finished_tag, gpr_uint32 flags);
/* DEPRECATED: users should use grpc_call_server_accept, and
grpc_call_server_end_initial_metadata instead now.
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 6f8e0d5db7..eb39044e93 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -382,21 +382,6 @@ static void finish_call(grpc_call *call) {
elements, count);
}
-grpc_call_error grpc_call_start_invoke(grpc_call *call,
- grpc_completion_queue *cq,
- void *invoke_accepted_tag,
- void *metadata_read_tag,
- void *finished_tag, gpr_uint32 flags) {
- grpc_call_error err =
- grpc_call_invoke(call, cq, metadata_read_tag, finished_tag, flags);
- if (err == GRPC_CALL_OK) {
- grpc_cq_begin_op(call->cq, call, GRPC_INVOKE_ACCEPTED);
- grpc_cq_end_invoke_accepted(call->cq, invoke_accepted_tag, call, do_nothing,
- NULL, GRPC_OP_OK);
- }
- return err;
-}
-
static void done_write(void *user_data, grpc_op_error error) {
grpc_call *call = user_data;
void *tag = call->write_tag;