GRPC C++
1.66.0
|
Common interface for all client side asynchronous streaming. More...
#include <async_stream.h>
Public Member Functions | |
virtual | ~ClientAsyncStreamingInterface () |
virtual void | StartCall (void *tag)=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 the initial metadata. More... | |
virtual void | Finish (grpc::Status *status, void *tag)=0 |
Indicate that the stream is to be finished and request notification for when the call has been ended. More... | |
Common interface for all client side asynchronous streaming.
|
inlinevirtual |
|
pure virtual |
Indicate that the stream is to be finished and request notification for when the call has been ended.
Should not be used concurrently with other operations.
It is appropriate to call this method exactly once when both:
The tag will be returned when either:
Note that implementations of this method attempt to receive initial metadata from the server if initial metadata hasn't yet been received.
[in] | tag | Tag identifying this request. |
[out] | status | To be updated with the operation status. |
|
pure virtual |
Request notification of the reading of the 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 AsyncReaderInterface::Read 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.