GRPC C++
0.10.0.0
|
Per-message write options. More...
#include <call.h>
Public Member Functions | |
WriteOptions () | |
WriteOptions (const WriteOptions &other) | |
void | Clear () |
Clear all flags. More... | |
gpr_uint32 | flags () const |
Returns raw flags bitset. More... | |
WriteOptions & | set_no_compression () |
Sets flag for the disabling of compression for the next message write. More... | |
WriteOptions & | clear_no_compression () |
Clears flag for the disabling of compression for the next message write. More... | |
bool | get_no_compression () const |
Get value for the flag indicating whether compression for the next message write is forcefully disabled. More... | |
WriteOptions & | set_buffer_hint () |
Sets flag indicating that the write may be buffered and need not go out on the wire immediately. More... | |
WriteOptions & | clear_buffer_hint () |
Clears flag indicating that the write may be buffered and need not go out on the wire immediately. More... | |
bool | get_buffer_hint () const |
Get value for the flag indicating that the write may be buffered and need not go out on the wire immediately. More... | |
WriteOptions & | operator= (const WriteOptions &rhs) |
Per-message write options.
|
inline |
|
inline |
|
inline |
Clear all flags.
|
inline |
Clears flag indicating that the write may be buffered and need not go out on the wire immediately.
|
inline |
Clears flag for the disabling of compression for the next message write.
|
inline |
Returns raw flags bitset.
|
inline |
Get value for the flag indicating that the write may be buffered and need not go out on the wire immediately.
|
inline |
Get value for the flag indicating whether compression for the next message write is forcefully disabled.
|
inline |
|
inline |
Sets flag indicating that the write may be buffered and need not go out on the wire immediately.
|
inline |
Sets flag for the disabling of compression for the next message write.