GRPC C++  0.11.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Friends
grpc::ServerCompletionQueue Class Reference

A specific type of completion queue used by the processing of notifications by servers. More...

#include <completion_queue.h>

Friends

class ServerBuilder
 

Additional Inherited Members

- Public Types inherited from grpc::CompletionQueue
enum  NextStatus { SHUTDOWN, GOT_EVENT, TIMEOUT }
 Tri-state return for AsyncNext: SHUTDOWN, GOT_EVENT, TIMEOUT. More...
 
- Public Member Functions inherited from grpc::CompletionQueue
 CompletionQueue ()
 Default constructor. More...
 
 CompletionQueue (grpc_completion_queue *take)
 Wrap take, taking ownership of the instance. More...
 
 ~CompletionQueue () GRPC_OVERRIDE
 Destructor. Destroys the owned wrapped completion queue / instance. More...
 
template<typename T >
NextStatus AsyncNext (void **tag, bool *ok, const T &deadline)
 Read from the queue, blocking up to deadline (or the queue's shutdown). More...
 
bool Next (void **tag, bool *ok)
 Read from the queue, blocking until an event is available or the queue is shutting down. More...
 
void Shutdown ()
 Request the shutdown of the queue. More...
 
grpc_completion_queue * cq ()
 Returns a raw pointer to the underlying grpc_completion_queue instance. More...
 
- Public Member Functions inherited from grpc::GrpcLibrary
 GrpcLibrary ()
 
virtual ~GrpcLibrary ()
 

Detailed Description

A specific type of completion queue used by the processing of notifications by servers.

Instantiated by ServerBuilder.

Friends And Related Function Documentation

friend class ServerBuilder
friend

The documentation for this class was generated from the following file: