GRPC C++  0.11.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions
grpc::ClientReaderInterface< R > Class Template Referenceabstract

Client-side interface for streaming reads of message of type R. More...

#include <sync_stream.h>

Public Member Functions

virtual void WaitForInitialMetadata ()=0
 Blocking wait for initial metadata from server. 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::ReaderInterface< R >
virtual ~ReaderInterface ()
 
virtual bool Read (R *msg)=0
 Blocking read a message and parse to msg. More...
 

Detailed Description

template<class R>
class grpc::ClientReaderInterface< R >

Client-side interface for streaming reads of message of type R.

Member Function Documentation

template<class R >
virtual void grpc::ClientReaderInterface< R >::WaitForInitialMetadata ( )
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::ClientReader< R >.


The documentation for this class was generated from the following file: