GRPC C++  1.30.0
Public Member Functions | Static Public Member Functions | Friends
grpc_impl::ClientAsyncResponseReader< R > Class Template Referencefinal

Async API for client-side unary RPCs, where the message response received from the server is of type R. More...

#include <async_unary_call_impl.h>

Public Member Functions

void StartCall () override
 Start the call that was set up by the constructor, but only if the constructor was invoked through the "Prepare" API which doesn't actually start the call. More...
 
void ReadInitialMetadata (void *tag) override
 See ClientAsyncResponseReaderInterface::ReadInitialMetadata for semantics. More...
 
void Finish (R *msg, ::grpc::Status *status, void *tag) override
 See ClientAysncResponseReaderInterface::Finish for semantics. More...
 
- Public Member Functions inherited from grpc_impl::ClientAsyncResponseReaderInterface< R >
virtual ~ClientAsyncResponseReaderInterface ()
 

Static Public Member Functions

static void operator delete (void *, std::size_t size)
 
static void operator delete (void *, void *)
 

Friends

class internal::ClientAsyncResponseReaderFactory< R >
 

Detailed Description

template<class R>
class grpc_impl::ClientAsyncResponseReader< R >

Async API for client-side unary RPCs, where the message response received from the server is of type R.

Member Function Documentation

◆ Finish()

template<class R >
void grpc_impl::ClientAsyncResponseReader< R >::Finish ( R *  msg,
::grpc::Status status,
void *  tag 
)
inlineoverridevirtual

See ClientAysncResponseReaderInterface::Finish for semantics.

Side effect:

  • the ClientContext associated with this call is updated with possible initial and trailing metadata sent from the server.

Implements grpc_impl::ClientAsyncResponseReaderInterface< R >.

◆ operator delete() [1/2]

template<class R >
static void grpc_impl::ClientAsyncResponseReader< R >::operator delete ( void *  ,
std::size_t  size 
)
inlinestatic

◆ operator delete() [2/2]

template<class R >
static void grpc_impl::ClientAsyncResponseReader< R >::operator delete ( void *  ,
void *   
)
inlinestatic

◆ ReadInitialMetadata()

template<class R >
void grpc_impl::ClientAsyncResponseReader< R >::ReadInitialMetadata ( void *  tag)
inlineoverridevirtual

See ClientAsyncResponseReaderInterface::ReadInitialMetadata for semantics.

Side effect:

  • the ClientContext associated with this call is updated with possible initial and trailing metadata sent from the server.

Implements grpc_impl::ClientAsyncResponseReaderInterface< R >.

◆ StartCall()

template<class R >
void grpc_impl::ClientAsyncResponseReader< R >::StartCall ( )
inlineoverridevirtual

Start the call that was set up by the constructor, but only if the constructor was invoked through the "Prepare" API which doesn't actually start the call.

Implements grpc_impl::ClientAsyncResponseReaderInterface< R >.

Friends And Related Function Documentation

◆ internal::ClientAsyncResponseReaderFactory< R >

template<class R >
friend class internal::ClientAsyncResponseReaderFactory< R >
friend

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