|
GRPC C++
1.4.0
|
Synchronous (blocking) client-side API for doing server-streaming RPCs, where the stream of messages coming from the server has messages of type R. More...
#include <channel_interface.h>
Public Member Functions | |
| template<class W > | |
| ClientReader (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const W &request) | |
| Block to create a stream and write the initial metadata and request out. More... | |
| void | WaitForInitialMetadata () override |
| See the ClientStreamingInterface.WaitForInitialMetadata method for semantics. More... | |
| bool | NextMessageSize (uint32_t *sz) override |
| Get an upper bound on the next message size available for reading on this stream. More... | |
| bool | Read (R *msg) override |
| See the ReaderInterface.Read method for semantics. More... | |
| Status | Finish () override |
| See the ClientStreamingInterface.Finish method for semantics. More... | |
Public Member Functions inherited from grpc::ClientStreamingInterface | |
| virtual | ~ClientStreamingInterface () |
Public Member Functions inherited from grpc::ReaderInterface< R > | |
| virtual | ~ReaderInterface () |
Synchronous (blocking) client-side API for doing server-streaming RPCs, where the stream of messages coming from the server has messages of type R.
|
inline |
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.
|
inlineoverridevirtual |
See the ClientStreamingInterface.Finish method for semantics.
Side effect: The ClientContext associated with this call is updated with possible metadata received from the server.
Implements grpc::ClientStreamingInterface.
|
inlineoverridevirtual |
Get an upper bound on the next message size available for reading on this stream.
Implements grpc::ReaderInterface< R >.
|
inlineoverridevirtual |
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).
Implements grpc::ReaderInterface< R >.
|
inlineoverridevirtual |
See the ClientStreamingInterface.WaitForInitialMetadata method for semantics.
Once complete, the initial metadata read from the server will be accessable through the ClientContext used to construct this object.
status ignored
Implements grpc::ClientReaderInterface< R >.
1.8.6