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

#include <channel.h>

Public Member Functions

template<class W >
 ClientAsyncReader (Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
 Create a stream and write the first request out. More...
 
void ReadInitialMetadata (void *tag) GRPC_OVERRIDE
 Request notification of the reading of the initial metadata. More...
 
void Read (R *msg, void *tag) GRPC_OVERRIDE
 Read a message of type R into msg. More...
 
void Finish (Status *status, void *tag) GRPC_OVERRIDE
 Request notification completion. More...
 
- Public Member Functions inherited from grpc::ClientAsyncStreamingInterface
virtual ~ClientAsyncStreamingInterface ()
 
- Public Member Functions inherited from grpc::AsyncReaderInterface< R >
virtual ~AsyncReaderInterface ()
 

Constructor & Destructor Documentation

template<class R >
template<class W >
grpc::ClientAsyncReader< R >::ClientAsyncReader ( Channel channel,
CompletionQueue cq,
const RpcMethod method,
ClientContext context,
const W &  request,
void *  tag 
)
inline

Create a stream and write the first request out.

Member Function Documentation

template<class R >
void grpc::ClientAsyncReader< R >::Finish ( Status status,
void *  tag 
)
inlinevirtual

Request notification completion.

Parameters
[out]statusTo be updated with the operation status.
[in]tagTag identifying this request.

Implements grpc::ClientAsyncStreamingInterface.

template<class R >
void grpc::ClientAsyncReader< R >::Read ( R *  msg,
void *  tag 
)
inlinevirtual

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.

Implements grpc::AsyncReaderInterface< R >.

template<class R >
void grpc::ClientAsyncReader< R >::ReadInitialMetadata ( void *  tag)
inlinevirtual

Request notification of the reading of the initial metadata.

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

Parameters
[in]tagTag identifying this request.

Implements grpc::ClientAsyncStreamingInterface.


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