template <class R>

class AsyncReaderInterface

Defined at line 85 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/async_stream.h

An interface that yields a sequence of messages of type

Public Methods

void Read (R * msg, void * tag)

Read a message of type

into

Completion will be notified by

on the associated completion queue.

This is thread-safe with respect to

or

methods. It

should not be called concurrently with other streaming APIs

on the same stream. It is not meaningful to call it concurrently

with another

on the same stream since reads

on the same stream are delivered in order.

Side effect: note that this method attempt to receive initial metadata for

a stream if it hasn't yet been received.

Parameters

msg [out] Where to eventually store the read message.
tag [in] The tag identifying the operation.
void ~AsyncReaderInterface<R> ()

Defined at line 87 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/async_stream.h