GRPC C++  1.26.0
Public Member Functions
grpc_impl::GenericStub::experimental_type Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ experimental_type()

grpc_impl::GenericStub::experimental_type::experimental_type ( GenericStub stub)
inlineexplicit

Member Function Documentation

◆ PrepareBidiStreamingCall()

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.

◆ UnaryCall() [1/2]

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.

◆ UnaryCall() [2/2]

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.


The documentation for this class was generated from the following file: