template <class W, class R>

class ServerAsyncReader

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

Async server-side API for doing client-streaming RPCs,

where the incoming message stream from the client has messages of type

and the single response message sent from the server is type

Public Methods

void ServerAsyncReader<W, R> (grpc::ServerContext * ctx)

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

void SendInitialMetadata (void * tag)

See

for semantics.

Implicit input parameter:

- The initial metadata that will be sent to the client from this op will

be taken from the

associated with the call.

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

void Read (R * msg, void * tag)

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

void Finish (const W & msg, const grpc::Status & status, void * tag)

See the

method for semantics

Side effect:

- also sends initial metadata if not already sent.

- uses the

associated with this call to send possible

initial and trailing metadata.

Note:

is not sent if

has a non-OK code.

gRPC doesn't take ownership or a reference to

and

so it

is safe to deallocate once Finish returns.

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

void FinishWithError (const grpc::Status & status, void * tag)

See the

method for semantics

Side effect:

- also sends initial metadata if not already sent.

- uses the

associated with this call to send possible

initial and trailing metadata.

gRPC doesn't take ownership or a reference to

so it is safe to

to deallocate once FinishWithError returns.

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