Skip to content
Snippets Groups Projects
Commit ab294db7 authored by Craig Tiller's avatar Craig Tiller
Browse files

Add some comments

parent 5e276e88
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,8 @@ class CompletionQueue {
grpc_completion_queue *cq() { return cq_; }
private:
// Friend synchronous wrappers so that they can access Pluck(), which is
// a semi-private API geared towards the synchronous implementation.
template <class R>
friend class ::grpc::ClientReader;
template <class W>
......@@ -103,6 +105,8 @@ class CompletionQueue {
const google::protobuf::Message &request,
google::protobuf::Message *result);
// Wraps grpc_completion_queue_pluck.
// Cannot be mixed with calls to Next().
bool Pluck(CompletionQueueTag *tag);
grpc_completion_queue *cq_; // owned
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment