|
GRPC C++
1.0.0
|
#include <async_stream.h>
Public Member Functions | |
| ServerAsyncWriter (ServerContext *ctx) | |
| void | SendInitialMetadata (void *tag) GRPC_OVERRIDE |
| void | Write (const W &msg, void *tag) GRPC_OVERRIDE |
| Request the writing of msg with identifying tag tag. More... | |
| void | Finish (const Status &status, void *tag) GRPC_OVERRIDE |
Public Member Functions inherited from grpc::ServerAsyncStreamingInterface | |
| virtual | ~ServerAsyncStreamingInterface () |
Public Member Functions inherited from grpc::AsyncWriterInterface< W > | |
| virtual | ~AsyncWriterInterface () |
|
inlineexplicit |
|
inlinevirtual |
Implements grpc::ServerAsyncWriterInterface< W >.
|
inlinevirtual |
Implements grpc::ServerAsyncStreamingInterface.
|
inlinevirtual |
Request the writing of msg with identifying tag tag.
Only one write may be outstanding at any given time. This means that after calling Write, one must wait to receive tag from the completion queue BEFORE calling Write again. This is thread-safe with respect to Read
| [in] | msg | The message to be written. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::AsyncWriterInterface< W >.
1.8.11