|
GRPC C++
0.13.1-pre1
|
Server-side interface for asynchronous bi-directional streaming. More...
#include <async_stream.h>
Public Member Functions | |
| ServerAsyncReaderWriter (ServerContext *ctx) | |
| void | SendInitialMetadata (void *tag) GRPC_OVERRIDE |
| void | Read (R *msg, void *tag) GRPC_OVERRIDE |
| Read a message of type R into msg. More... | |
| 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) |
Public Member Functions inherited from grpc::ServerAsyncStreamingInterface | |
| virtual | ~ServerAsyncStreamingInterface () |
Public Member Functions inherited from grpc::AsyncWriterInterface< W > | |
| virtual | ~AsyncWriterInterface () |
Public Member Functions inherited from grpc::AsyncReaderInterface< R > | |
| virtual | ~AsyncReaderInterface () |
Friends | |
| class | ::grpc::Server |
Server-side interface for asynchronous bi-directional streaming.
|
inlineexplicit |
|
inline |
|
inlinevirtual |
Read a message of type R into msg.
Completion will be notified by tag on the associated completion queue.
| [out] | msg | Where to eventually store the read message. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::AsyncReaderInterface< R >.
|
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.
| [in] | msg | The message to be written. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::AsyncWriterInterface< W >.
|
friend |
1.8.6