GRPC C++
1.66.0
|
Async server-side API for doing client-streaming RPCs, where the incoming message stream from the client has messages of type R, and the single response message sent from the server is type W. More...
#include <server_context.h>
Public Member Functions | |
ServerAsyncReader (grpc::ServerContext *ctx) | |
void | SendInitialMetadata (void *tag) override |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics. More... | |
void | Read (R *msg, void *tag) override |
void | Finish (const W &msg, const grpc::Status &status, void *tag) override |
See the ServerAsyncReaderInterface.Read method for semantics. More... | |
void | FinishWithError (const grpc::Status &status, void *tag) override |
See the ServerAsyncReaderInterface.Read method for semantics. More... | |
Async server-side API for doing client-streaming RPCs, where the incoming message stream from the client has messages of type R, and the single response message sent from the server is type W.
|
inlineexplicit |
|
inlineoverride |
See the ServerAsyncReaderInterface.Read method for semantics.
Side effect:
Note: msg is not sent if status has a non-OK code.
gRPC doesn't take ownership or a reference to msg and status, so it is safe to deallocate once Finish returns.
|
inlineoverride |
See the ServerAsyncReaderInterface.Read method for semantics.
Side effect:
gRPC doesn't take ownership or a reference to status, so it is safe to to deallocate once FinishWithError returns.
|
inlineoverride |
|
inlineoverride |
See ServerAsyncStreamingInterface::SendInitialMetadata for semantics.
Implicit input parameter: