19 #ifndef GRPCPP_GENERIC_GENERIC_STUB_IMPL_H 20 #define GRPCPP_GENERIC_GENERIC_STUB_IMPL_H 32 typedef ClientAsyncReaderWriter<ByteBuffer, ByteBuffer>
43 explicit GenericStub(std::shared_ptr<grpc::ChannelInterface> channel)
44 : channel_(channel) {}
50 std::unique_ptr<grpc::GenericClientAsyncReaderWriter> PrepareCall(
58 std::unique_ptr<grpc::GenericClientAsyncResponseReader> PrepareUnaryCall(
68 std::unique_ptr<grpc::GenericClientAsyncReaderWriter> Call(
94 void PrepareBidiStreamingCall(
109 std::shared_ptr<grpc::ChannelInterface> channel_;
114 #endif // GRPCPP_GENERIC_GENERIC_STUB_IMPL_H std::string string
Definition: config.h:35
NOTE: class experimental_type is not part of the public API of this class TODO(vjpai): Move these con...
Definition: generic_stub_impl.h:75
Async API for client-side unary RPCs, where the message response received from the server is of type ...
Definition: async_unary_call.h:97
GenericStub(std::shared_ptr< grpc::ChannelInterface > channel)
Definition: generic_stub_impl.h:43
Generic stubs provide a type-unsafe interface to call gRPC methods by name.
Definition: generic_stub_impl.h:41
ClientAsyncResponseReader< ByteBuffer > GenericClientAsyncResponseReader
Definition: generic_stub_impl.h:34
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
experimental_type(GenericStub *stub)
Definition: generic_stub_impl.h:77
ClientBidiReactor is the interface for a bidirectional streaming RPC.
Definition: client_callback.h:99
ClientUnaryReactor is a reactor-style interface for a unary RPC.
Definition: client_callback.h:373
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm_impl.h:33
experimental_type experimental()
NOTE: The function experimental() is not stable public API.
Definition: generic_stub_impl.h:106
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue.h).
Definition: completion_queue_impl.h:102
A ClientContext allows the person implementing a service client to:
Definition: client_context_impl.h:178
Did it work? If it didn't, why?
Definition: status.h:31
ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericClientAsyncReaderWriter
Definition: generic_stub_impl.h:33
A sequence of bytes.
Definition: byte_buffer.h:65