GRPC C++
1.30.0
|
An interface relevant for async client side unary RPCs (which send one request message to a server and receive one response message). More...
#include <async_unary_call_impl.h>
Public Member Functions | |
virtual | ~ClientAsyncResponseReaderInterface () |
virtual void | StartCall ()=0 |
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... | |
virtual void | ReadInitialMetadata (void *tag)=0 |
Request notification of the reading of initial metadata. More... | |
virtual void | Finish (R *msg, ::grpc::Status *status, void *tag)=0 |
Request to receive the server's response msg and final status for the call, and to notify tag on this call's completion queue when finished. More... | |
An interface relevant for async client side unary RPCs (which send one request message to a server and receive one response message).
|
inlinevirtual |
|
pure virtual |
Request to receive the server's response msg and final status for the call, and to notify tag on this call's completion queue when finished.
This function will return when either:
[in] | tag | Tag identifying this request. |
[out] | status | To be updated with the operation status. |
[out] | msg | To be filled in with the server's response message. |
Implemented in grpc_impl::ClientAsyncResponseReader< R >.
|
pure virtual |
Request notification of the reading of initial metadata.
Completion will be notified by tag on the associated completion queue. This call is optional, but if it is used, it cannot be used concurrently with or after the Finish method.
[in] | tag | Tag identifying this request. |
Implemented in grpc_impl::ClientAsyncResponseReader< R >.
|
pure virtual |
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.
Implemented in grpc_impl::ClientAsyncResponseReader< R >.