|
GRPC C++
1.3.0
|
#include <channel_interface.h>
Public Member Functions | |
| template<class R > | |
| ClientWriter (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, R *response) | |
| Blocking create a stream. More... | |
| void | WaitForInitialMetadata () |
| bool | Write (const W &msg, WriteOptions options) override |
| Blocking write msg to the stream with WriteOptions options. More... | |
| bool | WritesDone () override |
| Half close writing from the client. More... | |
| Status | Finish () override |
| Read the final response and wait for the final status. More... | |
Public Member Functions inherited from grpc::ClientStreamingInterface | |
| virtual | ~ClientStreamingInterface () |
Public Member Functions inherited from grpc::WriterInterface< W > | |
| virtual | ~WriterInterface () |
| 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... | |
|
inline |
Blocking create a stream.
|
inlineoverridevirtual |
Read the final response and wait for the final status.
Implements grpc::ClientStreamingInterface.
|
inline |
|
inlineoverridevirtual |
Blocking write msg to the stream with WriteOptions options.
This is thread-safe with respect to Read
| msg | The message to be written to the stream. |
| options | The WriteOptions affecting the write operation. |
Implements grpc::WriterInterface< W >.
|
inlineoverridevirtual |
Half close writing from the client.
Block until currently-pending writes are completed. Thread safe with respect to Read operations only
Implements grpc::ClientWriterInterface< W >.
1.8.6