34 #ifndef GRPCXX_GENERIC_STUB_H
35 #define GRPCXX_GENERIC_STUB_H
37 #include <grpc++/byte_buffer.h>
38 #include <grpc++/stream.h>
43 typedef ClientAsyncReaderWriter<ByteBuffer, ByteBuffer>
44 GenericClientAsyncReaderWriter;
50 explicit GenericStub(std::shared_ptr<ChannelInterface> channel)
51 : channel_(channel) {}
54 std::unique_ptr<GenericClientAsyncReaderWriter>
Call(
55 ClientContext* context,
const grpc::string& method,
59 std::shared_ptr<ChannelInterface> channel_;
64 #endif // GRPCXX_GENERIC_STUB_H
Definition: _completion_queue.h:40
Definition: proto_utils.cc:45