template <class R>

class ClientAsyncResponseReaderInterface

Defined at line 44 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/async_unary_call.h

An interface relevant for async client side unary RPCs (which send

one request message to a server and receive one response message).

Public Methods

void StartCall ()

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

void ReadInitialMetadata (void * tag)

Request notification of the reading of initial metadata. Completion

will be notified by

on the associated completion queue.

This call is optional, but if it is used, it cannot be used concurrently

with or after the

method.

Parameters

tag [in] Tag identifying this request.
void Finish (R * msg, grpc::Status * status, void * tag)

Request to receive the server's response

and final

for

the call, and to notify

on this call's completion queue when

finished.

This function will return when either:

- when the server's response message and status have been received.

- when the server has returned a non-OK status (no message expected in

this case).

- when the call failed for some reason and the library generated a

non-OK status.

Parameters

tag [in] Tag identifying this request.
status [out] To be updated with the operation status.
msg [out] To be filled in with the server's response message.
void ~ClientAsyncResponseReaderInterface<R> ()

Defined at line 46 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/async_unary_call.h