#include <channel_interface.h>
Public Member Functions | |
grpc::Status | Finish () override |
bool | NextMessageSize (uint32_t *sz) override |
bool | Read (R *msg) override |
void | WaitForInitialMetadata () override |
Private Member Functions | |
template<class W > | |
ClientReader (grpc::ChannelInterface *channel, const grpc::internal::RpcMethod &method, grpc::ClientContext *context, const W &request) | |
Private Attributes | |
grpc::internal::Call | call_ |
grpc::ClientContext * | context_ |
grpc::CompletionQueue | cq_ |
Friends | |
class | internal::ClientReaderFactory< R > |
Synchronous (blocking) client-side API for doing server-streaming RPCs, where the stream of messages coming from the server has messages of type R.
Definition at line 31 of file grpcpp/impl/codegen/channel_interface.h.
|
inlineprivate |
Block to create a stream and write the initial metadata and request out. Note that context will be used to fill in custom initial metadata used to send to the server when starting the call.
Definition at line 248 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
See the ClientStreamingInterface.Finish method for semantics.
Side effect: The ClientContext associated with this call is updated with possible metadata received from the server.
Definition at line 224 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
Definition at line 196 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
See the ReaderInterface.Read method for semantics. Side effect: This also receives initial metadata from the server, if not already received (if initial metadata is received, it can be then accessed through the ClientContext associated with this call).
Definition at line 207 of file grpcpp/impl/codegen/sync_stream.h.
|
inlineoverride |
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.
status ignored
Definition at line 187 of file grpcpp/impl/codegen/sync_stream.h.
|
friend |
Definition at line 239 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 242 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 240 of file grpcpp/impl/codegen/sync_stream.h.
|
private |
Definition at line 241 of file grpcpp/impl/codegen/sync_stream.h.