|
GRPC C++
1.26.0
|
NOTE: class experimental_type is not part of the public API of this class TODO(vjpai): Move these contents to the public API of GenericStub when they are no longer experimental. More...
#include <generic_stub_impl.h>
Public Member Functions | |
| experimental_type (GenericStub *stub) | |
| void | UnaryCall (grpc_impl::ClientContext *context, const grpc::string &method, const grpc::ByteBuffer *request, grpc::ByteBuffer *response, std::function< void(grpc::Status)> on_completion) |
| Setup and start a unary call to a named method method using context and specifying the request and response buffers. More... | |
| void | UnaryCall (grpc_impl::ClientContext *context, const grpc::string &method, const grpc::ByteBuffer *request, grpc::ByteBuffer *response, grpc_impl::ClientUnaryReactor *reactor) |
| Setup and start a unary call to a named method method using context and specifying the request and response buffers. More... | |
| void | PrepareBidiStreamingCall (grpc_impl::ClientContext *context, const grpc::string &method, grpc_impl::ClientBidiReactor< grpc::ByteBuffer, grpc::ByteBuffer > *reactor) |
| Setup a call to a named method method using context and tied to reactor . More... | |
NOTE: class experimental_type is not part of the public API of this class TODO(vjpai): Move these contents to the public API of GenericStub when they are no longer experimental.
|
inlineexplicit |
| void grpc_impl::GenericStub::experimental_type::PrepareBidiStreamingCall | ( | grpc_impl::ClientContext * | context, |
| const grpc::string & | method, | ||
| grpc_impl::ClientBidiReactor< grpc::ByteBuffer, grpc::ByteBuffer > * | reactor | ||
| ) |
Setup a call to a named method method using context and tied to reactor .
Like any other bidi streaming RPC, it will not be activated until StartCall is invoked on its reactor.
| void grpc_impl::GenericStub::experimental_type::UnaryCall | ( | grpc_impl::ClientContext * | context, |
| const grpc::string & | method, | ||
| const grpc::ByteBuffer * | request, | ||
| grpc::ByteBuffer * | response, | ||
| grpc_impl::ClientUnaryReactor * | reactor | ||
| ) |
Setup and start a unary call to a named method method using context and specifying the request and response buffers.
| void grpc_impl::GenericStub::experimental_type::UnaryCall | ( | grpc_impl::ClientContext * | context, |
| const grpc::string & | method, | ||
| const grpc::ByteBuffer * | request, | ||
| grpc::ByteBuffer * | response, | ||
| std::function< void(grpc::Status)> | on_completion | ||
| ) |
Setup and start a unary call to a named method method using context and specifying the request and response buffers.