diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-02-09 20:54:25 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-02-09 20:54:25 -0800 |
commit | 80e00a8c63bd801b697fbe0cd1d8e00b14a81c76 (patch) | |
tree | 087efdcc340e9e9fb1f1d960a1fdd72adb0c8264 /include/grpc++/completion_queue.h | |
parent | de917062ecacbeb547c8e2e4e3f4260d3e9a2f2e (diff) |
Stub out unary call wrapper
Diffstat (limited to 'include/grpc++/completion_queue.h')
-rw-r--r-- | include/grpc++/completion_queue.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h index 641d599c7e..c976bd5b45 100644 --- a/include/grpc++/completion_queue.h +++ b/include/grpc++/completion_queue.h @@ -34,6 +34,8 @@ #ifndef __GRPCPP_COMPLETION_QUEUE_H__ #define __GRPCPP_COMPLETION_QUEUE_H__ +#include <grpc++/impl/client_unary_call.h> + struct grpc_completion_queue; namespace grpc { @@ -85,6 +87,10 @@ class CompletionQueue { template <class R> friend class ::grpc::ServerReader; template <class W> friend class ::grpc::ServerWriter; template <class R, class W> friend class ::grpc::ServerReaderWriter; + friend Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method, + ClientContext *context, + const google::protobuf::Message &request, + google::protobuf::Message *result); bool Pluck(CompletionQueueTag *tag); |