Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
grpc_core::SubchannelCall Class Reference

#include <subchannel.h>

Classes

struct  Args
 

Public Member Functions

grpc_call_stackGetCallStack ()
 
RefCountedPtr< SubchannelCallRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelCallRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void SetAfterCallStackDestroy (grpc_closure *closure)
 
void StartTransportStreamOpBatch (grpc_transport_stream_op_batch *batch)
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 

Static Public Member Functions

static RefCountedPtr< SubchannelCallCreate (Args args, grpc_error_handle *error)
 

Private Member Functions

void IncrementRefCount ()
 
void IncrementRefCount (const DebugLocation &location, const char *reason)
 
void MaybeInterceptRecvTrailingMetadata (grpc_transport_stream_op_batch *batch)
 
 SubchannelCall (Args args, grpc_error_handle *error)
 

Static Private Member Functions

static void Destroy (void *arg, grpc_error_handle error)
 
static void RecvTrailingMetadataReady (void *arg, grpc_error_handle error)
 

Private Attributes

grpc_closureafter_call_stack_destroy_ = nullptr
 
RefCountedPtr< ConnectedSubchannelconnected_subchannel_
 
Timestamp deadline_
 
grpc_closureoriginal_recv_trailing_metadata_ = nullptr
 
grpc_metadata_batchrecv_trailing_metadata_ = nullptr
 
grpc_closure recv_trailing_metadata_ready_
 

Friends

template<typename T >
class RefCountedPtr
 

Detailed Description

Definition at line 96 of file subchannel.h.

Constructor & Destructor Documentation

◆ SubchannelCall()

grpc_core::SubchannelCall::SubchannelCall ( Args  args,
grpc_error_handle error 
)
private

Definition at line 151 of file subchannel.cc.

Member Function Documentation

◆ Create()

RefCountedPtr< SubchannelCall > grpc_core::SubchannelCall::Create ( Args  args,
grpc_error_handle error 
)
static

Definition at line 142 of file subchannel.cc.

◆ Destroy()

void grpc_core::SubchannelCall::Destroy ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 218 of file subchannel.cc.

◆ GetCallStack()

grpc_call_stack * grpc_core::SubchannelCall::GetCallStack ( )

Definition at line 188 of file subchannel.cc.

◆ IncrementRefCount() [1/2]

void grpc_core::SubchannelCall::IncrementRefCount ( )
private

Definition at line 293 of file subchannel.cc.

◆ IncrementRefCount() [2/2]

void grpc_core::SubchannelCall::IncrementRefCount ( const DebugLocation location,
const char *  reason 
)
private

Definition at line 297 of file subchannel.cc.

◆ MaybeInterceptRecvTrailingMetadata()

void grpc_core::SubchannelCall::MaybeInterceptRecvTrailingMetadata ( grpc_transport_stream_op_batch batch)
private

Definition at line 237 of file subchannel.cc.

◆ RecvTrailingMetadataReady()

void grpc_core::SubchannelCall::RecvTrailingMetadataReady ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 274 of file subchannel.cc.

◆ Ref() [1/2]

RefCountedPtr< SubchannelCall > grpc_core::SubchannelCall::Ref ( )

Definition at line 198 of file subchannel.cc.

◆ Ref() [2/2]

RefCountedPtr< SubchannelCall > grpc_core::SubchannelCall::Ref ( const DebugLocation location,
const char *  reason 
)

Definition at line 203 of file subchannel.cc.

◆ SetAfterCallStackDestroy()

void grpc_core::SubchannelCall::SetAfterCallStackDestroy ( grpc_closure closure)

Definition at line 192 of file subchannel.cc.

◆ StartTransportStreamOpBatch()

void grpc_core::SubchannelCall::StartTransportStreamOpBatch ( grpc_transport_stream_op_batch batch)

Definition at line 178 of file subchannel.cc.

◆ Unref() [1/2]

void grpc_core::SubchannelCall::Unref ( )

Definition at line 209 of file subchannel.cc.

◆ Unref() [2/2]

void grpc_core::SubchannelCall::Unref ( const DebugLocation location,
const char *  reason 
)

Definition at line 213 of file subchannel.cc.

Friends And Related Function Documentation

◆ RefCountedPtr

template<typename T >
friend class RefCountedPtr
friend

Definition at line 133 of file subchannel.h.

Member Data Documentation

◆ after_call_stack_destroy_

grpc_closure* grpc_core::SubchannelCall::after_call_stack_destroy_ = nullptr
private

Definition at line 151 of file subchannel.h.

◆ connected_subchannel_

RefCountedPtr<ConnectedSubchannel> grpc_core::SubchannelCall::connected_subchannel_
private

Definition at line 150 of file subchannel.h.

◆ deadline_

Timestamp grpc_core::SubchannelCall::deadline_
private

Definition at line 156 of file subchannel.h.

◆ original_recv_trailing_metadata_

grpc_closure* grpc_core::SubchannelCall::original_recv_trailing_metadata_ = nullptr
private

Definition at line 154 of file subchannel.h.

◆ recv_trailing_metadata_

grpc_metadata_batch* grpc_core::SubchannelCall::recv_trailing_metadata_ = nullptr
private

Definition at line 155 of file subchannel.h.

◆ recv_trailing_metadata_ready_

grpc_closure grpc_core::SubchannelCall::recv_trailing_metadata_ready_
private

Definition at line 153 of file subchannel.h.


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


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