diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-10-22 02:42:03 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-10-22 02:42:03 -0700 |
commit | 9b83b7d19e0a3e14dbfca2f40fa8157547c190f4 (patch) | |
tree | 8e48f2a77de1b44cd9415f5d6b11aa452095861d /include/grpcpp/channel.h | |
parent | 3a17f5b05ec6adce638fd03168a923e727759969 (diff) |
Adding intercepted channel
Diffstat (limited to 'include/grpcpp/channel.h')
-rw-r--r-- | include/grpcpp/channel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpcpp/channel.h b/include/grpcpp/channel.h index b7c9e354de..6f89e36fca 100644 --- a/include/grpcpp/channel.h +++ b/include/grpcpp/channel.h @@ -67,6 +67,7 @@ class Channel final : public ChannelInterface, std::unique_ptr<std::vector< std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>> interceptor_creators); + friend class internal::InterceptedChannel; Channel(const grpc::string& host, grpc_channel* c_channel, std::unique_ptr<std::vector< std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>> @@ -87,6 +88,10 @@ class Channel final : public ChannelInterface, CompletionQueue* CallbackCQ() override; + internal::Call CreateCallInternal(const internal::RpcMethod& method, + ClientContext* context, CompletionQueue* cq, + int interceptor_pos); + const grpc::string host_; grpc_channel* const c_channel_; // owned |