aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/completion_queue.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-01-13 16:02:00 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-01-13 16:02:00 -0800
commite50c6c2f5ed36d8559de5c23364f7e0d656daab8 (patch)
treee40d0ea895f2b158f03d4bd6d4dbf189546738fd /include/grpc++/completion_queue.h
parent16a7dee6141785092ee2aae4a11d2e9f590a1847 (diff)
WIP. Added ChannelInterface
Diffstat (limited to 'include/grpc++/completion_queue.h')
-rw-r--r--include/grpc++/completion_queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h
index 5c2bc202c3..adae9265a6 100644
--- a/include/grpc++/completion_queue.h
+++ b/include/grpc++/completion_queue.h
@@ -68,6 +68,7 @@ class BidiStreamingHandler;
class UnknownMethodHandler;
class Channel;
+class ChannelInterface;
class ClientContext;
class CompletionQueueTag;
class CompletionQueue;
@@ -171,7 +172,7 @@ class CompletionQueue : public GrpcLibrary {
friend class ::grpc::Server;
friend class ::grpc::ServerContext;
template <class InputMessage, class OutputMessage>
- friend Status BlockingUnaryCall(Channel* channel, const RpcMethod& method,
+ friend Status BlockingUnaryCall(ChannelInterface* channel, const RpcMethod& method,
ClientContext* context,
const InputMessage& request,
OutputMessage* result);