GRPC C++
1.30.0
|
Async client-side interface for bi-directional streaming, where the client-to-server message stream has messages of type W, and the server-to-client message stream has messages of type R. More...
#include <async_stream_impl.h>
Public Member Functions | |
virtual void | WritesDone (void *tag)=0 |
Signal the client is done with the writes (half-close the client stream). More... | |
Public Member Functions inherited from grpc_impl::internal::ClientAsyncStreamingInterface | |
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... | |
Public Member Functions inherited from grpc_impl::internal::AsyncWriterInterface< W > | |
virtual | ~AsyncWriterInterface () |
virtual void | Write (const W &msg, void *tag)=0 |
Request the writing of msg with identifying tag tag. More... | |
virtual void | Write (const W &msg, ::grpc::WriteOptions options, void *tag)=0 |
Request the writing of msg using WriteOptions options with identifying tag tag. More... | |
void | WriteLast (const W &msg, ::grpc::WriteOptions options, void *tag) |
Request the writing of msg and coalesce it with the writing of trailing metadata, using WriteOptions options with identifying tag tag. More... | |
Public Member Functions inherited from grpc_impl::internal::AsyncReaderInterface< R > | |
virtual | ~AsyncReaderInterface () |
virtual void | Read (R *msg, void *tag)=0 |
Read a message of type R into msg. More... | |
Async client-side interface for bi-directional streaming, where the client-to-server message stream has messages of type W, and the server-to-client message stream has messages of type R.
|
pure virtual |
Signal the client is done with the writes (half-close the client stream).
Thread-safe with respect to AsyncReaderInterface::Read
[in] | tag | The tag identifying the operation. |
Implemented in grpc_impl::ClientAsyncReaderWriter< W, R >.