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... | |
![]() | |
virtual | ~WriterInterface () |
bool | Write (const W &msg) |
Blocking write msg to the stream with default options. More... | |
![]() | |
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 >.