Public Member Functions | Private Attributes | List of all members
grpc::TransportStreamOpBatch Class Reference

A C++ wrapper for the grpc_transport_stream_op_batch struct. More...

#include <channel_filter.h>

Public Member Functions

census_contextget_census_context () const
 
const gpr_atmget_peer_string () const
 
grpc_closureon_complete () const
 
grpc_transport_stream_op_batchop () const
 
MetadataBatchrecv_initial_metadata ()
 
grpc_closurerecv_initial_metadata_ready () const
 
absl::optional< grpc_core::SliceBuffer > * recv_message () const
 
MetadataBatchrecv_trailing_metadata ()
 
MetadataBatchsend_initial_metadata ()
 
uint32_tsend_initial_metadata_flags () const
 
grpc_core::SliceBuffersend_message () const
 
MetadataBatchsend_trailing_metadata ()
 
void set_on_complete (grpc_closure *closure)
 
void set_recv_initial_metadata_ready (grpc_closure *closure)
 
void set_recv_message (absl::optional< grpc_core::SliceBuffer > *recv_message)
 
void set_send_message (grpc_core::SliceBuffer *send_message)
 
 TransportStreamOpBatch (grpc_transport_stream_op_batch *op)
 

Private Attributes

grpc_transport_stream_op_batchop_
 
MetadataBatch recv_initial_metadata_
 
MetadataBatch recv_trailing_metadata_
 
MetadataBatch send_initial_metadata_
 
MetadataBatch send_trailing_metadata_
 

Detailed Description

A C++ wrapper for the grpc_transport_stream_op_batch struct.

Definition at line 99 of file common/channel_filter.h.

Constructor & Destructor Documentation

◆ TransportStreamOpBatch()

grpc::TransportStreamOpBatch::TransportStreamOpBatch ( grpc_transport_stream_op_batch op)
inlineexplicit

Borrows a pointer to op, but does NOT take ownership. The caller must ensure that op continues to exist for as long as the TransportStreamOpBatch object does.

Definition at line 104 of file common/channel_filter.h.

Member Function Documentation

◆ get_census_context()

census_context* grpc::TransportStreamOpBatch::get_census_context ( ) const
inline

Definition at line 175 of file common/channel_filter.h.

◆ get_peer_string()

const gpr_atm* grpc::TransportStreamOpBatch::get_peer_string ( ) const
inline

Definition at line 180 of file common/channel_filter.h.

◆ on_complete()

grpc_closure* grpc::TransportStreamOpBatch::on_complete ( ) const
inline

Definition at line 125 of file common/channel_filter.h.

◆ op()

grpc_transport_stream_op_batch* grpc::TransportStreamOpBatch::op ( ) const
inline

Definition at line 123 of file common/channel_filter.h.

◆ recv_initial_metadata()

MetadataBatch* grpc::TransportStreamOpBatch::recv_initial_metadata ( )
inline

Definition at line 134 of file common/channel_filter.h.

◆ recv_initial_metadata_ready()

grpc_closure* grpc::TransportStreamOpBatch::recv_initial_metadata_ready ( ) const
inline

Definition at line 147 of file common/channel_filter.h.

◆ recv_message()

absl::optional<grpc_core::SliceBuffer>* grpc::TransportStreamOpBatch::recv_message ( ) const
inline

Definition at line 166 of file common/channel_filter.h.

◆ recv_trailing_metadata()

MetadataBatch* grpc::TransportStreamOpBatch::recv_trailing_metadata ( )
inline

Definition at line 137 of file common/channel_filter.h.

◆ send_initial_metadata()

MetadataBatch* grpc::TransportStreamOpBatch::send_initial_metadata ( )
inline

Definition at line 128 of file common/channel_filter.h.

◆ send_initial_metadata_flags()

uint32_t* grpc::TransportStreamOpBatch::send_initial_metadata_flags ( ) const
inline

Definition at line 141 of file common/channel_filter.h.

◆ send_message()

grpc_core::SliceBuffer* grpc::TransportStreamOpBatch::send_message ( ) const
inline

Definition at line 156 of file common/channel_filter.h.

◆ send_trailing_metadata()

MetadataBatch* grpc::TransportStreamOpBatch::send_trailing_metadata ( )
inline

Definition at line 131 of file common/channel_filter.h.

◆ set_on_complete()

void grpc::TransportStreamOpBatch::set_on_complete ( grpc_closure closure)
inline

Definition at line 126 of file common/channel_filter.h.

◆ set_recv_initial_metadata_ready()

void grpc::TransportStreamOpBatch::set_recv_initial_metadata_ready ( grpc_closure closure)
inline

Definition at line 152 of file common/channel_filter.h.

◆ set_recv_message()

void grpc::TransportStreamOpBatch::set_recv_message ( absl::optional< grpc_core::SliceBuffer > *  recv_message)
inline

Definition at line 170 of file common/channel_filter.h.

◆ set_send_message()

void grpc::TransportStreamOpBatch::set_send_message ( grpc_core::SliceBuffer send_message)
inline

Definition at line 161 of file common/channel_filter.h.

Member Data Documentation

◆ op_

grpc_transport_stream_op_batch* grpc::TransportStreamOpBatch::op_
private

Definition at line 193 of file common/channel_filter.h.

◆ recv_initial_metadata_

MetadataBatch grpc::TransportStreamOpBatch::recv_initial_metadata_
private

Definition at line 196 of file common/channel_filter.h.

◆ recv_trailing_metadata_

MetadataBatch grpc::TransportStreamOpBatch::recv_trailing_metadata_
private

Definition at line 197 of file common/channel_filter.h.

◆ send_initial_metadata_

MetadataBatch grpc::TransportStreamOpBatch::send_initial_metadata_
private

Definition at line 194 of file common/channel_filter.h.

◆ send_trailing_metadata_

MetadataBatch grpc::TransportStreamOpBatch::send_trailing_metadata_
private

Definition at line 195 of file common/channel_filter.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:31