|
GRPC C++
1.0.0
|
An interface that can be fed a sequence of messages of type W. More...
#include <sync_stream.h>
Public Member Functions | |
| virtual | ~WriterInterface () |
| virtual bool | Write (const W &msg, const WriteOptions &options)=0 |
| Blocking write msg to the stream with options. More... | |
| bool | Write (const W &msg) |
| Blocking write msg to the stream with default options. More... | |
An interface that can be fed a sequence of messages of type W.
|
inlinevirtual |
|
pure virtual |
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. |
Implemented in grpc::ServerReaderWriter< W, R >, grpc::ServerWriter< W >, grpc::ClientReaderWriter< W, R >, and grpc::ClientWriter< W >.
|
inline |
Blocking write msg to the stream with default options.
This is thread-safe with respect to Read
| msg | The message to be written to the stream. |
1.8.11