aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/client_context.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-08-19 16:28:09 -0700
committerGravatar yang-g <yangg@google.com>2015-08-19 16:28:09 -0700
commit8c2be9f22807870585111d88f5168dd11da99ce1 (patch)
tree2f7d8a372e68cb2c7ad04777e50bfbf927ededc6 /include/grpc++/client_context.h
parent89bede02f16905eb48b71710dc4ea2542b3a5ca1 (diff)
Remove ChannelInterface and replace it with Channel
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r--include/grpc++/client_context.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h
index 8de2ba4877..55ed17506a 100644
--- a/include/grpc++/client_context.h
+++ b/include/grpc++/client_context.h
@@ -51,7 +51,7 @@ struct census_context;
namespace grpc {
-class ChannelInterface;
+class Channel;
class CompletionQueue;
class Credentials;
class RpcMethod;
@@ -215,20 +215,18 @@ class ClientContext {
template <class R>
friend class ::grpc::ClientAsyncResponseReader;
template <class InputMessage, class OutputMessage>
- friend Status BlockingUnaryCall(ChannelInterface* channel,
- const RpcMethod& method,
+ friend Status BlockingUnaryCall(Channel* channel, const RpcMethod& method,
ClientContext* context,
const InputMessage& request,
OutputMessage* result);
grpc_call* call() { return call_; }
- void set_call(grpc_call* call,
- const std::shared_ptr<ChannelInterface>& channel);
+ void set_call(grpc_call* call, const std::shared_ptr<Channel>& channel);
grpc::string authority() { return authority_; }
bool initial_metadata_received_;
- std::shared_ptr<ChannelInterface> channel_;
+ std::shared_ptr<Channel> channel_;
grpc_call* call_;
gpr_timespec deadline_;
grpc::string authority_;