|
GRPC C++
1.0.0
|
Models a gRPC server. More...
#include <server.h>
Data Structures | |
| class | GlobalCallbacks |
| Global Callbacks. More... | |
Public Member Functions | |
| ~Server () | |
| void | Wait () GRPC_OVERRIDE |
| Block waiting for all work to complete. More... | |
| grpc_server * | c_server () |
| CompletionQueue * | completion_queue () |
Public Member Functions inherited from grpc::ServerInterface | |
| virtual | ~ServerInterface () |
| template<class T > | |
| void | Shutdown (const T &deadline) |
| Shutdown the server, blocking until all rpc processing finishes. More... | |
| void | Shutdown () |
| Shutdown the server, waiting for all rpc processing to finish. More... | |
Public Member Functions inherited from grpc::CallHook | |
| virtual | ~CallHook () |
Static Public Member Functions | |
| static void | SetGlobalCallbacks (GlobalCallbacks *callbacks) |
| Set the global callback object. More... | |
Friends | |
| class | AsyncGenericService |
| class | ServerBuilder |
| class | ServerInitializer |
Additional Inherited Members | |
Protected Member Functions inherited from grpc::ServerInterface | |
| 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 | ( | ) |
| grpc_server* grpc::Server::c_server | ( | ) |
| CompletionQueue* grpc::Server::completion_queue | ( | ) |
|
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.
|
virtual |
Block waiting for all work to complete.
Implements grpc::ServerInterface.
|
friend |
|
friend |
|
friend |
1.8.11