|
GRPC C++
1.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. This is thread-safe with respect to Write or methods on the same stream. It should not be called concurrently with another Read on the same stream as the order of delivery will not be defined.
| [out] | msg | The read message. |
Implements grpc::ReaderInterface< R >.
|
inline |
|
inlinevirtual |
Blocking write msg to the stream with options.
This is thread-safe with respect to Read
| msg | The message to be written to the stream. |
| options | Options affecting the write operation. |
Implements grpc::WriterInterface< W >.
1.8.11