34 #ifndef GRPCXX_ASYNC_GENERIC_SERVICE_H
35 #define GRPCXX_ASYNC_GENERIC_SERVICE_H
37 #include <grpc++/byte_buffer.h>
38 #include <grpc++/stream.h>
44 typedef ServerAsyncReaderWriter<ByteBuffer, ByteBuffer>
45 GenericServerAsyncReaderWriter;
47 class GenericServerContext
GRPC_FINAL :
public ServerContext {
49 const grpc::string& method()
const {
return method_; }
50 const grpc::string& host()
const {
return host_; }
64 AsyncGenericService(
const grpc::string& methods) : server_(nullptr) {}
66 void RequestCall(GenericServerContext* ctx,
67 GenericServerAsyncReaderWriter* reader_writer,
69 ServerCompletionQueue* notification_cq,
void* tag);
78 #endif // GRPCXX_ASYNC_GENERIC_SERVICE_H
Definition: _completion_queue.h:40
Definition: proto_utils.cc:45