#include <async_unary_call.h>
Public Member Functions | |
virtual void | Finish (R *msg, grpc::Status *status, void *tag)=0 |
virtual void | ReadInitialMetadata (void *tag)=0 |
virtual void | StartCall ()=0 |
virtual | ~ClientAsyncResponseReaderInterface () |
An interface relevant for async client side unary RPCs (which send one request message to a server and receive one response message).
Definition at line 42 of file grpcpp/impl/codegen/async_unary_call.h.
|
inlinevirtual |
Definition at line 44 of file grpcpp/impl/codegen/async_unary_call.h.
|
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. |
|
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. |
|
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