|
GRPC C++
1.3.0
|
Client-side interface for bi-directional streaming. More...
#include <sync_stream.h>
Public Member Functions | |
| virtual void | WaitForInitialMetadata ()=0 |
| Blocking wait for initial metadata from server. More... | |
| virtual bool | WritesDone ()=0 |
| Block until currently-pending writes are completed. 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, WriteOptions options)=0 |
| Blocking write msg to the stream with WriteOptions options. More... | |
| bool | Write (const W &msg) |
| Blocking write msg to the stream with default write options. More... | |
| void | WriteLast (const W &msg, WriteOptions options) |
| Write msg and coalesce it with the writing of trailing metadata, using WriteOptions options. More... | |
Public Member Functions inherited from grpc::ReaderInterface< R > | |
| virtual | ~ReaderInterface () |
| virtual bool | NextMessageSize (uint32_t *sz)=0 |
| Upper bound on the next message size available for reading on this stream. More... | |
| virtual bool | Read (R *msg)=0 |
| Blocking read a message and parse to msg. More... | |
Client-side interface for bi-directional streaming.
|
pure virtual |
Blocking 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.
Implemented in grpc::ClientReaderWriter< W, R >.
|
pure virtual |
Block until currently-pending writes are completed.
Thread-safe with respect to Read
Implemented in grpc::ClientReaderWriter< W, R >.
1.8.6