Public Member Functions | List of all members
grpc::ClientWriterInterface< W > Class Template Referenceabstract

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

#include <sync_stream.h>

Inheritance diagram for grpc::ClientWriterInterface< W >:
Inheritance graph
[legend]

Public Member Functions

virtual bool WritesDone ()=0
 
- Public Member Functions inherited from grpc::internal::ClientStreamingInterface
virtual grpc::Status Finish ()=0
 
virtual ~ClientStreamingInterface ()
 
- Public Member Functions inherited from grpc::internal::WriterInterface< W >
bool Write (const W &msg)
 
virtual bool Write (const W &msg, grpc::WriteOptions options)=0
 
void WriteLast (const W &msg, grpc::WriteOptions options)
 
virtual ~WriterInterface ()
 

Detailed Description

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

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

Definition at line 272 of file grpcpp/impl/codegen/sync_stream.h.

Member Function Documentation

◆ WritesDone()

template<class W >
virtual bool grpc::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.

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:30