GRPC C++  1.66.0
Public Member Functions
grpc::ClientAsyncReaderWriterInterface< W, R > Class Template Referenceabstract

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.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::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::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::internal::AsyncReaderInterface< R >
virtual ~AsyncReaderInterface ()
 
virtual void Read (R *msg, void *tag)=0
 Read a message of type R into msg. More...
 

Detailed Description

template<class W, class R>
class grpc::ClientAsyncReaderWriterInterface< W, R >

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.

Member Function Documentation

◆ WritesDone()

template<class W , class R >
virtual void grpc::ClientAsyncReaderWriterInterface< W, R >::WritesDone ( void *  tag)
pure virtual

Signal the client is done with the writes (half-close the client stream).

Thread-safe with respect to AsyncReaderInterface::Read

Parameters
[in]tagThe tag identifying the operation.

The documentation for this class was generated from the following file: