aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/completion_queue.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-17 07:38:26 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-17 07:38:26 -0800
commit573523f1278a8c797c10ebb2a8b571d6891a22cc (patch)
tree1d250d9a1747e9fa3949776ecf9d9789ff0c633d /include/grpc++/completion_queue.h
parent73b7018ebdf546684fc916dcf87d21dd82d0b4c5 (diff)
clang-format
Diffstat (limited to 'include/grpc++/completion_queue.h')
-rw-r--r--include/grpc++/completion_queue.h31
1 files changed, 19 insertions, 12 deletions
diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h
index 80874cd1e6..665f29318f 100644
--- a/include/grpc++/completion_queue.h
+++ b/include/grpc++/completion_queue.h
@@ -81,24 +81,31 @@ class CompletionQueue {
// destructed when false is returned from Next().
void Shutdown();
- grpc_completion_queue* cq() { return cq_; }
+ grpc_completion_queue *cq() { return cq_; }
private:
- template <class R> friend class ::grpc::ClientReader;
- template <class W> friend class ::grpc::ClientWriter;
- template <class R, class W> friend class ::grpc::ClientReaderWriter;
- template <class R> friend class ::grpc::ServerReader;
- template <class W> friend class ::grpc::ServerWriter;
- template <class R, class W> friend class ::grpc::ServerReaderWriter;
+ template <class R>
+ friend class ::grpc::ClientReader;
+ template <class W>
+ friend class ::grpc::ClientWriter;
+ template <class R, class W>
+ friend class ::grpc::ClientReaderWriter;
+ template <class R>
+ friend class ::grpc::ServerReader;
+ template <class W>
+ friend class ::grpc::ServerWriter;
+ template <class R, class W>
+ friend class ::grpc::ServerReaderWriter;
friend class ::grpc::Server;
- friend Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method,
- ClientContext *context,
- const google::protobuf::Message &request,
- google::protobuf::Message *result);
+ friend Status BlockingUnaryCall(ChannelInterface *channel,
+ const RpcMethod &method,
+ ClientContext *context,
+ const google::protobuf::Message &request,
+ google::protobuf::Message *result);
bool Pluck(CompletionQueueTag *tag);
- grpc_completion_queue* cq_; // owned
+ grpc_completion_queue *cq_; // owned
};
} // namespace grpc