GRPC C++  1.43.1
Public Member Functions | Static Public Member Functions | Friends
grpc::ClientAsyncResponseReader< R > Class Template Reference

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

#include <async_unary_call.h>

Public Member Functions

void StartCall () override
 
void ReadInitialMetadata (void *tag) override
 See ClientAsyncResponseReaderInterface::ReadInitialMetadata for semantics. More...
 
void Finish (R *msg, ::grpc::Status *status, void *tag) override
 See ClientAsyncResponseReaderInterface::Finish for semantics. More...
 

Static Public Member Functions

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

Friends

class internal::ClientAsyncResponseReaderHelper
 

Detailed Description

template<class R>
class grpc::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::ClientAsyncResponseReader< R >::Finish ( R *  msg,
::grpc::Status status,
void *  tag 
)
inlineoverride

See ClientAsyncResponseReaderInterface::Finish for semantics.

Side effect:

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

◆ operator delete() [1/2]

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

◆ operator delete() [2/2]

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

◆ ReadInitialMetadata()

template<class R >
void grpc::ClientAsyncResponseReader< R >::ReadInitialMetadata ( void *  tag)
inlineoverride

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.

◆ StartCall()

template<class R >
void grpc::ClientAsyncResponseReader< R >::StartCall ( )
inlineoverride

Friends And Related Function Documentation

◆ internal::ClientAsyncResponseReaderHelper

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

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