GRPC C++  1.24.0
Public Member Functions
grpc_impl::ClientWriterInterface< W > Class Template Referenceabstract

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

#include <sync_stream_impl.h>

Public Member Functions

virtual bool WritesDone ()=0
 Half close writing from the client. More...
 
- Public Member Functions inherited from grpc_impl::internal::ClientStreamingInterface
virtual ~ClientStreamingInterface ()
 
virtual ::grpc::Status Finish ()=0
 Block waiting until the stream finishes and a final status of the call is available. More...
 
- Public Member Functions inherited from grpc_impl::internal::WriterInterface< W >
virtual ~WriterInterface ()
 
virtual bool Write (const W &msg, ::grpc::WriteOptions options)=0
 Block to write msg to the stream with WriteOptions options. More...
 
bool Write (const W &msg)
 Block to write msg to the stream with default write options. More...
 
void WriteLast (const W &msg, ::grpc::WriteOptions options)
 Write msg and coalesce it with the writing of trailing metadata, using WriteOptions options. More...
 

Detailed Description

template<class W>
class grpc_impl::ClientWriterInterface< W >

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

Member Function Documentation

◆ WritesDone()

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

Half close writing from the client.

(signal that the stream of messages coming from the client is complete). Blocks until currently-pending writes are completed. Thread safe with respect to ReaderInterface::Read operations only

Returns
Whether the writes were successful.

Implemented in grpc_impl::ClientWriter< W >.


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