#include <async_stream.h>
template<class R >
template<class W >
Create a stream and write the first request out.
Indicate that the stream is to be finished and request notification Should not be used concurrently with other operations.
- Parameters
-
| [out] | status | To be updated with the operation status. |
| [in] | tag | Tag identifying this request. |
Implements grpc::ClientAsyncStreamingInterface.
Read a message of type R into msg.
Completion will be notified by tag on the associated completion queue. This is thread-safe with respect to Write or WritesDone methods. It should not be called concurrently with other streaming APIs on the same stream. It is not meaningful to call it concurrently with another Read on the same stream since reads on the same stream are delivered in order.
- Parameters
-
| [out] | msg | Where to eventually store the read message. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::AsyncReaderInterface< R >.
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 Read method.
- Parameters
-
| [in] | tag | Tag identifying this request. |
Implements grpc::ClientAsyncStreamingInterface.
The documentation for this class was generated from the following file: