Models a gRPC server.
More...
#include <server.h>
|
| template<class Message > |
| void | RequestAsyncCall (RpcServiceMethod *method, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag, Message *message) |
| |
| void | RequestAsyncCall (RpcServiceMethod *method, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag) |
| |
| void | RequestAsyncGenericCall (GenericServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag) |
| |
Models a gRPC server.
Servers are configured and started via grpc::ServerBuilder.
| grpc::Server::~Server |
( |
| ) |
|
| static void grpc::Server::SetGlobalCallbacks |
( |
GlobalCallbacks * |
callbacks | ) |
|
|
static |
Set the global callback object.
Can only be called once. Does not take ownership of callbacks, and expects the pointed to object to be alive until all server objects in the process have been destroyed.
| void grpc::Server::Wait |
( |
| ) |
|
|
virtual |
Block waiting for all work to complete.
- Warning
- The server must be either shutting down or some other thread must call Shutdown for this function to ever return.
Implements grpc::ServerInterface.
The documentation for this class was generated from the following file: