A specific type of completion queue used by the processing of notifications by servers.
More...
#include <completion_queue.h>
|
| bool | IsFrequentlyPolled () |
| |
| | CompletionQueue () |
| | Default constructor. More...
|
| |
| | CompletionQueue (grpc_completion_queue *take) |
| | Wrap take, taking ownership of the instance. More...
|
| |
| | ~CompletionQueue () override |
| | Destructor. Destroys the owned wrapped completion queue / instance. More...
|
| |
| bool | Next (void **tag, bool *ok) |
| | Read from the queue, blocking until an event is available or the queue is shutting down. 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...
|
| |
| template<typename T , typename F > |
| NextStatus | DoThenAsyncNext (F &&f, void **tag, bool *ok, const T &deadline) |
| | EXPERIMENTAL First executes F, then reads from the queue, blocking up to deadline (or the queue's shutdown). 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...
|
| |
A specific type of completion queue used by the processing of notifications by servers.
Instantiated by ServerBuilder or Server (for health checker).
◆ ServerCompletionQueue()
| grpc::ServerCompletionQueue::ServerCompletionQueue |
( |
| ) |
|
|
inlineprotected |
◆ IsFrequentlyPolled()
| bool grpc::ServerCompletionQueue::IsFrequentlyPolled |
( |
| ) |
|
|
inline |
◆ ::grpc::Server
◆ ::grpc::ServerBuilder
The documentation for this class was generated from the following file: