aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/server_context.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-09-01 18:23:55 +0200
committerGravatar David Garcia Quintas <dgq@google.com>2016-09-01 18:23:55 +0200
commit410208c25ce06aff6a0d5ac242dd5a37bfa140c3 (patch)
treeca63f76a26fb13b9455915b732d760807fbbc06c /include/grpc++/impl/codegen/server_context.h
parent1dddf9ca965fb25e193fabda6b7260435677a0e4 (diff)
parent9d7e049d03cedca3b4b0e08d0cba1d1e718fa8ae (diff)
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
Diffstat (limited to 'include/grpc++/impl/codegen/server_context.h')
-rw-r--r--include/grpc++/impl/codegen/server_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/server_context.h b/include/grpc++/impl/codegen/server_context.h
index d1018418d3..e1102e7be8 100644
--- a/include/grpc++/impl/codegen/server_context.h
+++ b/include/grpc++/impl/codegen/server_context.h
@@ -165,6 +165,10 @@ class ServerContext {
async_notify_when_done_tag_ = tag;
}
+ // Should be used for framework-level extensions only.
+ // Applications never need to call this method.
+ grpc_call* c_call() { return call_; }
+
private:
friend class ::grpc::testing::InteropServerContextInspector;
friend class ::grpc::ServerInterface;