Go to the documentation of this file.
19 #ifndef GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H
20 #define GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H
31 typedef ServerAsyncReaderWriter<ByteBuffer, ByteBuffer>
39 const std::string&
method()
const {
return method_; }
40 const std::string&
host()
const {
return host_; }
82 #endif // GRPCPP_GENERIC_ASYNC_GENERIC_SERVICE_H
A ServerContext or CallbackServerContext allows the code implementing a service handler to:
Definition: server_context.h:578
Represents a gRPC server.
Definition: server.h:57
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
Async server-side API for doing server streaming RPCs, where the outgoing message stream from the ser...
Definition: server_context.h:58
ServerAsyncReader< ByteBuffer, ByteBuffer > GenericServerAsyncReader
Definition: async_generic_service.h:34
ServerAsyncResponseWriter< ByteBuffer > GenericServerAsyncResponseWriter
Definition: async_generic_service.h:33
AsyncGenericService()
Definition: async_generic_service.h:68
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:64
Definition: async_generic_service.h:66
Definition: async_generic_service.h:37
Async server-side API for handling unary calls, where the single response message sent to the client ...
Definition: server_context.h:60
A specific type of completion queue used by the processing of notifications by servers.
Definition: completion_queue.h:427
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....
Definition: completion_queue.h:105
ServerAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericServerAsyncReaderWriter
Definition: async_generic_service.h:32
const std::string & host() const
Definition: async_generic_service.h:40
Async server-side API for doing client-streaming RPCs, where the incoming message stream from the cli...
Definition: server_context.h:56
Async server-side API for doing bidirectional streaming RPCs, where the incoming message stream comin...
Definition: server_context.h:62
Definition: server_interface.h:61
ServerAsyncWriter< ByteBuffer > GenericServerAsyncWriter
Definition: async_generic_service.h:35
const std::string & method() const
Definition: async_generic_service.h:39
void RequestCall(GenericServerContext *ctx, GenericServerAsyncReaderWriter *reader_writer, grpc::CompletionQueue *call_cq, grpc::ServerCompletionQueue *notification_cq, void *tag)