#include <transport.h>
◆ grpc_transport_stream_op_batch()
grpc_transport_stream_op_batch::grpc_transport_stream_op_batch |
( |
| ) |
|
|
inline |
◆ cancel_stream
bool grpc_transport_stream_op_batch::cancel_stream |
Cancel this stream with the provided error.
◆ handler_private
◆ is_traced
bool grpc_transport_stream_op_batch::is_traced |
◆ on_complete
grpc_closure* grpc_transport_stream_op_batch::on_complete = nullptr |
Should be scheduled when all of the non-recv operations in the batch are complete.
The recv ops (recv_initial_metadata, recv_message, and recv_trailing_metadata) each have their own callbacks. If a batch contains both recv ops and non-recv ops, on_complete should be scheduled as soon as the non-recv ops are complete, regardless of whether or not the recv ops are complete. If a batch contains only recv ops, on_complete can be null.
◆ payload
Values for the stream op (fields set are determined by flags above)
◆ recv_initial_metadata
bool grpc_transport_stream_op_batch::recv_initial_metadata |
Receive initial metadata from the stream, into provided metadata batch.
◆ recv_message
bool grpc_transport_stream_op_batch::recv_message |
Receive message data from the stream, into provided byte stream.
◆ recv_trailing_metadata
bool grpc_transport_stream_op_batch::recv_trailing_metadata |
Receive trailing metadata from the stream, into provided metadata batch.
◆ send_initial_metadata
bool grpc_transport_stream_op_batch::send_initial_metadata |
Send initial metadata to the peer, from the provided metadata batch.
◆ send_message
bool grpc_transport_stream_op_batch::send_message |
Send message data to the peer, from the provided byte stream.
◆ send_trailing_metadata
bool grpc_transport_stream_op_batch::send_trailing_metadata |
Send trailing metadata to the peer, from the provided metadata batch.
The documentation for this struct was generated from the following file: