GRPC C++
1.66.0
|
Async server-side API for doing server streaming RPCs, where the outgoing message stream from the server has messages of type W. More...
#include <server_context.h>
Public Member Functions | |
ServerAsyncWriter (grpc::ServerContext *ctx) | |
void | SendInitialMetadata (void *tag) override |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics. More... | |
void | Write (const W &msg, void *tag) override |
void | Write (const W &msg, grpc::WriteOptions options, void *tag) override |
void | WriteAndFinish (const W &msg, grpc::WriteOptions options, const grpc::Status &status, void *tag) override |
See the ServerAsyncWriterInterface.WriteAndFinish method for semantics. More... | |
void | Finish (const grpc::Status &status, void *tag) override |
See the ServerAsyncWriterInterface.Finish method for semantics. More... | |
Async server-side API for doing server streaming RPCs, where the outgoing message stream from the server has messages of type W.
|
inlineexplicit |
|
inlineoverride |
See the ServerAsyncWriterInterface.Finish method for semantics.
Implicit input parameter:
Note: there are no restrictions are the code of status,it may be non-OK
gRPC doesn't take ownership or a reference to status, so it is safe to to deallocate once Finish returns.
|
inlineoverride |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics.
Implicit input parameter:
[in] | tag | Tag identifying this request. |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
See the ServerAsyncWriterInterface.WriteAndFinish method for semantics.
Implicit input parameter:
Note: status must have an OK code.
gRPC doesn't take ownership or a reference to msg and status, so it is safe to deallocate once WriteAndFinish returns.