GRPC C++  1.0.0
Public Member Functions
grpc::ClientAsyncStreamingInterface Class Referenceabstract

Common interface for all client side asynchronous streaming. More...

#include <async_stream.h>

Public Member Functions

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 Should not be used concurrently with other operations. More...
 

Detailed Description

Common interface for all client side asynchronous streaming.

Constructor & Destructor Documentation

virtual grpc::ClientAsyncStreamingInterface::~ClientAsyncStreamingInterface ( )
inlinevirtual

Member Function Documentation

virtual void grpc::ClientAsyncStreamingInterface::Finish ( Status status,
void *  tag 
)
pure virtual

Indicate that the stream is to be finished and request notification Should not be used concurrently with other operations.

Parameters
[out]statusTo be updated with the operation status.
[in]tagTag identifying this request.

Implemented in grpc::ClientAsyncReaderWriter< W, R >, grpc::ClientAsyncWriter< W >, and grpc::ClientAsyncReader< R >.

virtual void grpc::ClientAsyncStreamingInterface::ReadInitialMetadata ( void *  tag)
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 Read method.

Parameters
[in]tagTag identifying this request.

Implemented in grpc::ClientAsyncReaderWriter< W, R >, grpc::ClientAsyncWriter< W >, and grpc::ClientAsyncReader< R >.


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