GRPC C++
1.66.0
|
Async server-side API for doing bidirectional streaming RPCs, where the incoming message stream coming from the client has messages of type R, and the outgoing message stream coming from the server has messages of type W. More...
#include <server_context.h>
Public Member Functions | |
ServerAsyncReaderWriter (grpc::ServerContext *ctx) | |
void | SendInitialMetadata (void *tag) override |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics. More... | |
void | Read (R *msg, void *tag) override |
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 ServerAsyncReaderWriterInterface.WriteAndFinish method for semantics. More... | |
void | Finish (const grpc::Status &status, void *tag) override |
See the ServerAsyncReaderWriterInterface.Finish method for semantics. More... | |
Friends | |
class | grpc::Server |
Async server-side API for doing bidirectional streaming RPCs, where the incoming message stream coming from the client has messages of type R, and the outgoing message stream coming from the server has messages of type W.
|
inlineexplicit |
|
inlineoverride |
See the ServerAsyncReaderWriterInterface.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 |
|
inlineoverride |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics.
Implicit input parameter:
[in] | tag | Tag identifying this request. |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
See the ServerAsyncReaderWriterInterface.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.
|
friend |