|
GRPC C++
0.11.0.0
|
Server-side interface for asynchronous bi-directional streaming. More...
#include <server_context.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.
| [in] | msg | The message to be written. |
| [in] | tag | The tag identifying the operation. |
Implements grpc::AsyncWriterInterface< W >.
|
friend |
1.8.6