|
GRPC C++
1.16.0-dev
|
Async API on the client side for doing client-streaming RPCs, where the outgoing message stream going to the server contains messages of type W. More...
#include <async_stream.h>
Public Member Functions | |
| void | StartCall (void *tag) override |
| Start the call that was set up by the constructor, but only if the constructor was invoked through the "Prepare" API which doesn't actually start the call. More... | |
| void | ReadInitialMetadata (void *tag) override |
| See the ClientAsyncStreamingInterface.ReadInitialMetadata method for semantics. More... | |
| void | Write (const W &msg, void *tag) override |
| Request the writing of msg with identifying tag tag. More... | |
| void | Write (const W &msg, WriteOptions options, void *tag) override |
| Request the writing of msg using WriteOptions options with identifying tag tag. More... | |
| void | WritesDone (void *tag) override |
| Signal the client is done with the writes (half-close the client stream). More... | |
| void | Finish (Status *status, void *tag) override |
| See the ClientAsyncStreamingInterface.Finish method for semantics. More... | |
Public Member Functions inherited from grpc::internal::ClientAsyncStreamingInterface | |
| virtual | ~ClientAsyncStreamingInterface () |
Public Member Functions inherited from grpc::internal::AsyncWriterInterface< W > | |
| virtual | ~AsyncWriterInterface () |
| void | WriteLast (const W &msg, WriteOptions options, void *tag) |
| Request the writing of msg and coalesce it with the writing of trailing metadata, using WriteOptions options with identifying tag tag. More... | |
Static Public Member Functions | |
| static void | operator delete (void *ptr, std::size_t size) |
| static void | operator delete (void *, void *) |
Friends | |
| class | internal::ClientAsyncWriterFactory< W > |
Async API on the client side for doing client-streaming RPCs, where the outgoing message stream going to the server contains messages of type W.
|
inlineoverridevirtual |
See the ClientAsyncStreamingInterface.Finish method for semantics.
Side effect:
Implements grpc::internal::ClientAsyncStreamingInterface.
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
See the ClientAsyncStreamingInterface.ReadInitialMetadata method for semantics.
Side effect:
Implements grpc::internal::ClientAsyncStreamingInterface.
|
inlineoverridevirtual |
Start the call that was set up by the constructor, but only if the constructor was invoked through the "Prepare" API which doesn't actually start the call.
Implements grpc::internal::ClientAsyncStreamingInterface.
|
inlineoverridevirtual |
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 AsyncReaderInterface::Read
| [in] | msg | The message to be written. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::internal::AsyncWriterInterface< W >.
|
inlineoverridevirtual |
Request the writing of msg using WriteOptions options 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. WriteOptions options is used to set the write options of this message. This is thread-safe with respect to AsyncReaderInterface::Read
| [in] | msg | The message to be written. |
| [in] | options | The WriteOptions to be used to write this message. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::internal::AsyncWriterInterface< W >.
|
inlineoverridevirtual |
Signal the client is done with the writes (half-close the client stream).
Thread-safe with respect to AsyncReaderInterface::Read
| [in] | tag | The tag identifying the operation. |
Implements grpc::ClientAsyncWriterInterface< W >.
|
friend |
1.8.13