|
GRPC C++
1.3.0
|
Server-side interface for asynchronous bi-directional streaming. More...
#include <async_stream.h>
Public Member Functions | |
| virtual void | Finish (const Status &status, void *tag)=0 |
| virtual void | WriteAndFinish (const W &msg, WriteOptions options, const Status &status, void *tag)=0 |
| Request the writing of msg and coalesce it with trailing metadata which contains status, using WriteOptions options with identifying tag tag. More... | |
Public Member Functions inherited from grpc::ServerAsyncStreamingInterface | |
| virtual | ~ServerAsyncStreamingInterface () |
| virtual void | SendInitialMetadata (void *tag)=0 |
Public Member Functions inherited from grpc::AsyncWriterInterface< W > | |
| virtual | ~AsyncWriterInterface () |
| virtual void | Write (const W &msg, void *tag)=0 |
| Request the writing of msg with identifying tag tag. More... | |
| virtual void | Write (const W &msg, WriteOptions options, void *tag)=0 |
| Request the writing of msg using WriteOptions options with identifying tag tag. More... | |
| 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... | |
Public Member Functions inherited from grpc::AsyncReaderInterface< R > | |
| virtual | ~AsyncReaderInterface () |
| virtual void | Read (R *msg, void *tag)=0 |
| Read a message of type R into msg. More... | |
Server-side interface for asynchronous bi-directional streaming.
|
pure virtual |
Implemented in grpc::ServerAsyncReaderWriter< W, R >.
|
pure virtual |
Request the writing of msg and coalesce it with trailing metadata which contains status, using WriteOptions options with identifying tag tag.
WriteAndFinish is equivalent of performing WriteLast and Finish in a single step.
| [in] | msg | The message to be written. |
| [in] | options | The WriteOptions to be used to write this message. |
| [in] | status | The Status that server returns to client. |
| [in] | tag | The tag identifying the operation. |
Implemented in grpc::ServerAsyncReaderWriter< W, R >.
1.8.6