#include <channel_interface.h>
Public Member Functions | |
grpc::Status | Finish () override |
void | WaitForInitialMetadata () |
bool | Write (const W &msg, grpc::WriteOptions options) override |
bool | WritesDone () override |
Private Member Functions | |
template<class R > | |
ClientWriter (grpc::ChannelInterface *channel, const grpc::internal::RpcMethod &method, grpc::ClientContext *context, R *response) | |
Friends | |
class | internal::ClientWriterFactory< W > |
Synchronous (blocking) client-side API for doing client-streaming RPCs, where the outgoing message stream coming from the client has messages of type W.
Definition at line 33 of file grpcpp/impl/codegen/channel_interface.h.
|
inlineprivate |
Block to create a stream (i.e. send request headers and other initial metadata to the server). Note that context will be used to fill in custom initial metadata. response will be filled in with the single expected response message from the server upon a successful call to the Finish method of this instance.
Definition at line 381 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
See the ClientStreamingInterface.Finish method for semantics. Side effects:
Definition at line 361 of file grpcpp/impl/codegen/sync_stream.h.
|
inline |
See the ClientStreamingInterface.WaitForInitialMetadata method for semantics. Once complete, the initial metadata read from the server will be accessible through the ClientContext used to construct this object.
Definition at line 309 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
Definition at line 325 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
Definition at line 348 of file grpcpp/impl/codegen/sync_stream.h.
|
friend |
Definition at line 373 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 407 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 401 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 406 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 405 of file grpcpp/impl/codegen/sync_stream.h.