aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-07-15 20:05:26 -0700
committerGravatar GitHub <noreply@github.com>2017-07-15 20:05:26 -0700
commitfd82a6cb4fce4ba648feea1b63112820b54775e7 (patch)
treee4bc7edf41989c42b1452a38e574fe488677c423 /include
parent29d472303dcef30bfbd3989b9fd0f4baf40aa96c (diff)
parent10519a347614ae4853f1f791b6e95f9376b47413 (diff)
Merge pull request #11145 from vjpai/inproc3
In-process transport
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/impl/codegen/server_interface.h1
-rw-r--r--include/grpc++/server.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/server_interface.h b/include/grpc++/impl/codegen/server_interface.h
index 9d120031ca..cc9bf0a108 100644
--- a/include/grpc++/impl/codegen/server_interface.h
+++ b/include/grpc++/impl/codegen/server_interface.h
@@ -28,6 +28,7 @@
namespace grpc {
class AsyncGenericService;
+class Channel;
class GenericServerContext;
class ServerCompletionQueue;
class ServerContext;
diff --git a/include/grpc++/server.h b/include/grpc++/server.h
index baf0ded9ab..4684b10fe6 100644
--- a/include/grpc++/server.h
+++ b/include/grpc++/server.h
@@ -95,6 +95,9 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen {
return health_check_service_.get();
}
+ /// Establish a channel for in-process communication
+ std::shared_ptr<Channel> InProcessChannel(const ChannelArguments& args);
+
private:
friend class AsyncGenericService;
friend class ServerBuilder;