#include <sync_stream.h>
Public Member Functions | |
virtual void | WaitForInitialMetadata ()=0 |
virtual bool | WritesDone ()=0 |
![]() | |
virtual grpc::Status | Finish ()=0 |
virtual | ~ClientStreamingInterface () |
![]() | |
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 () |
![]() | |
virtual bool | NextMessageSize (uint32_t *sz)=0 |
virtual bool | Read (R *msg)=0 |
virtual | ~ReaderInterface () |
Client-side interface for bi-directional streaming with client-to-server stream messages of type W and server-to-client stream messages of type R.
Definition at line 414 of file grpcpp/impl/codegen/sync_stream.h.
|
pure virtual |
Block to wait for initial metadata from server. The received metadata can only be accessed after this call returns. Should only be called before the first read. Calling this method is optional, and if it is not called the metadata will be available in ClientContext after the first read.
|
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