|
GRPC C++
0.11.0.0
|
Server-side interface for bi-directional streaming. More...
#include <completion_queue.h>
Public Member Functions | |
| ServerReaderWriter (Call *call, ServerContext *ctx) | |
| void | SendInitialMetadata () |
| bool | Read (R *msg) GRPC_OVERRIDE |
| Blocking read a message and parse to msg. More... | |
| bool | Write (const W &msg, const WriteOptions &options) GRPC_OVERRIDE |
| Blocking write msg to the stream with options. More... | |
Public Member Functions inherited from grpc::WriterInterface< W > | |
| virtual | ~WriterInterface () |
| bool | Write (const W &msg) |
| Blocking write msg to the stream with default options. More... | |
Public Member Functions inherited from grpc::ReaderInterface< R > | |
| virtual | ~ReaderInterface () |
Server-side interface for bi-directional streaming.
|
inline |
|
inlinevirtual |
Blocking read a message and parse to msg.
Returns true on success.
| [out] | msg | The read message. |
Implements grpc::ReaderInterface< R >.
|
inline |
|
inlinevirtual |
Blocking write msg to the stream with options.
| msg | The message to be written to the stream. |
| options | Options affecting the write operation. |
Implements grpc::WriterInterface< W >.
1.8.6