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

#include <completion_queue.h>

Public Member Functions

 ServerReader (Call *call, ServerContext *ctx)
 
void SendInitialMetadata ()
 
bool Read (R *msg) GRPC_OVERRIDE
 Blocking read a message and parse to msg. More...
 
- Public Member Functions inherited from grpc::ReaderInterface< R >
virtual ~ReaderInterface ()
 

Constructor & Destructor Documentation

template<class R>
grpc::ServerReader< R >::ServerReader ( Call call,
ServerContext ctx 
)
inline

Member Function Documentation

template<class R>
bool grpc::ServerReader< R >::Read ( R *  msg)
inlinevirtual

Blocking read a message and parse to msg.

Returns true on success.

Parameters
[out]msgThe read message.
Returns
false when there will be no more incoming messages, either because the other side has called WritesDone() or the stream has failed (or been cancelled).

Implements grpc::ReaderInterface< R >.

template<class R>
void grpc::ServerReader< R >::SendInitialMetadata ( )
inline

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