GRPC C++  1.66.0
grpc::TemplatedGenericStubCallback< RequestType, ResponseType > Class Template Referencefinal

Generic stubs provide a type-unaware interface to call gRPC methods by name. More...

#include <generic_stub_callback.h>

Additional Inherited Members

- Public Member Functions inherited from grpc::internal::TemplatedGenericStubCallbackInternal< RequestType, ResponseType >
 TemplatedGenericStubCallbackInternal (std::shared_ptr< grpc::ChannelInterface > channel)
 
void UnaryCall (ClientContext *context, const std::string &method, StubOptions options, const RequestType *request, ResponseType *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 PrepareUnaryCall (ClientContext *context, const std::string &method, StubOptions options, const RequestType *request, ResponseType *response, ClientUnaryReactor *reactor)
 Setup a unary call to a named method method using context and specifying the request and response buffers. More...
 
void PrepareBidiStreamingCall (ClientContext *context, const std::string &method, StubOptions options, ClientBidiReactor< RequestType, ResponseType > *reactor)
 Setup a call to a named method method using context and tied to reactor . More...
 

Detailed Description

template<class RequestType, class ResponseType>
class grpc::TemplatedGenericStubCallback< RequestType, ResponseType >

Generic stubs provide a type-unaware interface to call gRPC methods by name.

In practice, the Request and Response types should be basic types like grpc::ByteBuffer or proto::MessageLite (the base protobuf).


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