GRPC C++  1.0.0
Public Member Functions
grpc::ClientWriterInterface< W > Class Template Referenceabstract

Client-side interface for streaming writes of message of type W. More...

#include <sync_stream.h>

Public Member Functions

virtual bool WritesDone ()=0
 Half close writing from the client. More...
 
- Public Member Functions inherited from grpc::ClientStreamingInterface
virtual ~ClientStreamingInterface ()
 
virtual Status Finish ()=0
 Wait until the stream finishes, and return the final status. More...
 
- Public Member Functions inherited from grpc::WriterInterface< W >
virtual ~WriterInterface ()
 
virtual bool Write (const W &msg, const WriteOptions &options)=0
 Blocking write msg to the stream with options. More...
 
bool Write (const W &msg)
 Blocking write msg to the stream with default options. More...
 

Detailed Description

template<class W>
class grpc::ClientWriterInterface< W >

Client-side interface for streaming writes of message of type W.

Member Function Documentation

template<class W >
virtual bool grpc::ClientWriterInterface< W >::WritesDone ( )
pure virtual

Half close writing from the client.

Block until currently-pending writes are completed. Thread safe with respect to Read operations only

Returns
Whether the writes were successful.

Implemented in grpc::ClientWriter< W >.


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