#include <completion_queue.h>

Public Member Functions | |
| bool | IsFrequentlyPolled () |
Public Member Functions inherited from grpc::CompletionQueue | |
| template<typename T > | |
| NextStatus | AsyncNext (void **tag, bool *ok, const T &deadline) |
| CompletionQueue () | |
| CompletionQueue (grpc_completion_queue *take) | |
| grpc_completion_queue * | cq () |
| template<typename T , typename F > | |
| NextStatus | DoThenAsyncNext (F &&f, void **tag, bool *ok, const T &deadline) |
| bool | Next (void **tag, bool *ok) |
| void | Shutdown () |
| ~CompletionQueue () override | |
| Destructor. Destroys the owned wrapped completion queue / instance. More... | |
Protected Member Functions | |
| ServerCompletionQueue () | |
| Default constructor. More... | |
Protected Member Functions inherited from grpc::CompletionQueue | |
| CompletionQueue (const grpc_completion_queue_attributes &attributes) | |
| Private constructor of CompletionQueue only visible to friend classes. More... | |
Private Member Functions | |
| ServerCompletionQueue (grpc_cq_completion_type completion_type, grpc_cq_polling_type polling_type, grpc_completion_queue_functor *shutdown_cb) | |
Private Attributes | |
| grpc_cq_polling_type | polling_type_ |
Friends | |
| class | grpc::Server |
| class | grpc::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... | |
A specific type of completion queue used by the processing of notifications by servers. Instantiated by ServerBuilder or Server (for health checker).
Definition at line 436 of file include/grpcpp/impl/codegen/completion_queue.h.
|
inlineprotected |
Default constructor.
Definition at line 442 of file include/grpcpp/impl/codegen/completion_queue.h.
|
inlineprivate |
| completion_type | indicates whether this is a NEXT or CALLBACK completion queue. |
| polling_type | Informs the GRPC library about the type of polling allowed on this completion queue. See grpc_cq_polling_type's description in grpc_types.h for more details. |
| shutdown_cb | is the shutdown callback used for CALLBACK api queues |
Definition at line 451 of file include/grpcpp/impl/codegen/completion_queue.h.
|
inline |
Definition at line 438 of file include/grpcpp/impl/codegen/completion_queue.h.
|
friend |
Definition at line 461 of file include/grpcpp/impl/codegen/completion_queue.h.
|
friend |
Definition at line 460 of file include/grpcpp/impl/codegen/completion_queue.h.
|
private |
Definition at line 459 of file include/grpcpp/impl/codegen/completion_queue.h.