template <class W>

class ServerAsyncWriter

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

Async server-side API for doing server streaming RPCs,

where the outgoing message stream from the server has messages of type

Public Methods

void ServerAsyncWriter<W> (grpc::ServerContext * ctx)

Defined at line 849 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.

Parameters

tag [in] Tag identifying this request.

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

void Write (const W & msg, void * tag)

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

void Write (const W & msg, grpc::WriteOptions options, void * tag)

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

void WriteAndFinish (const W & msg, grpc::WriteOptions options, const grpc::Status & status, void * tag)

See the

method for semantics.

Implicit input parameter:

- the

associated with this call is used

for sending trailing (and initial) metadata to the client.

Note:

must have an OK code.

gRPC doesn't take ownership or a reference to

and

so it

is safe to deallocate once WriteAndFinish returns.

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

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

See the

method for semantics.

Implicit input parameter:

- the

associated with this call is used for sending

trailing (and initial if not already sent) metadata to the client.

Note: there are no restrictions are the code of

may be non-OK

gRPC doesn't take ownership or a reference to

so it is safe to

to deallocate once Finish returns.

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