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

An interface that yields a sequence of messages of type R. More...

#include <async_stream.h>

Public Member Functions

virtual ~AsyncReaderInterface ()
 
virtual void Read (R *msg, void *tag)=0
 Read a message of type R into msg. More...
 

Detailed Description

template<class R>
class grpc::AsyncReaderInterface< R >

An interface that yields a sequence of messages of type R.

Constructor & Destructor Documentation

template<class R>
virtual grpc::AsyncReaderInterface< R >::~AsyncReaderInterface ( )
inlinevirtual

Member Function Documentation

template<class R>
virtual void grpc::AsyncReaderInterface< R >::Read ( R *  msg,
void *  tag 
)
pure virtual

Read a message of type R into msg.

Completion will be notified by tag on the associated completion queue.

Parameters
[out]msgWhere to eventually store the read message.
[in]tagThe tag identifying the operation.

Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncReaderWriter< ByteBuffer, ByteBuffer >, grpc::ServerAsyncReader< W, R >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncReader< R >.


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