GRPC C++  1.4.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::ClientAsyncStreamingInterface
virtual ~ClientAsyncStreamingInterface ()
 
virtual void ReadInitialMetadata (void *tag)=0
 Request notification of the reading of the initial metadata. More...
 
virtual void Finish (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::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, WriteOptions options, void *tag)=0
 Request the writing of msg using WriteOptions options with identifying tag tag. More...
 
void WriteLast (const W &msg, 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::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

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.

Implemented in grpc::ClientAsyncReaderWriter< W, R >.


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