Public Member Functions | Private Attributes | List of all members
grpc_core::ConnectedSubchannel Class Reference

#include <subchannel.h>

Inheritance diagram for grpc_core::ConnectedSubchannel:
Inheritance graph
[legend]

Public Member Functions

const grpc_channel_argsargs () const
 
grpc_channel_stackchannel_stack () const
 
channelz::SubchannelNodechannelz_subchannel () const
 
 ConnectedSubchannel (grpc_channel_stack *channel_stack, const grpc_channel_args *args, RefCountedPtr< channelz::SubchannelNode > channelz_subchannel)
 
size_t GetInitialCallSizeEstimate () const
 
void Ping (grpc_closure *on_initiate, grpc_closure *on_ack)
 
void StartWatch (grpc_pollset_set *interested_parties, OrphanablePtr< ConnectivityStateWatcherInterface > watcher)
 
 ~ConnectedSubchannel () override
 
- Public Member Functions inherited from grpc_core::RefCounted< ConnectedSubchannel >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< ConnectedSubchannelRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ConnectedSubchannelRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< ConnectedSubchannelRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ConnectedSubchannelRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Private Attributes

grpc_channel_argsargs_
 
grpc_channel_stackchannel_stack_
 
RefCountedPtr< channelz::SubchannelNodechannelz_subchannel_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< ConnectedSubchannel >
using RefCountedChildType = ConnectedSubchannel
 
- Protected Member Functions inherited from grpc_core::RefCounted< ConnectedSubchannel >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 67 of file subchannel.h.

Constructor & Destructor Documentation

◆ ConnectedSubchannel()

grpc_core::ConnectedSubchannel::ConnectedSubchannel ( grpc_channel_stack channel_stack,
const grpc_channel_args args,
RefCountedPtr< channelz::SubchannelNode channelz_subchannel 
)

Definition at line 96 of file subchannel.cc.

◆ ~ConnectedSubchannel()

grpc_core::ConnectedSubchannel::~ConnectedSubchannel ( )
override

Definition at line 107 of file subchannel.cc.

Member Function Documentation

◆ args()

const grpc_channel_args* grpc_core::ConnectedSubchannel::args ( ) const
inline

Definition at line 80 of file subchannel.h.

◆ channel_stack()

grpc_channel_stack* grpc_core::ConnectedSubchannel::channel_stack ( ) const
inline

Definition at line 79 of file subchannel.h.

◆ channelz_subchannel()

channelz::SubchannelNode* grpc_core::ConnectedSubchannel::channelz_subchannel ( ) const
inline

Definition at line 81 of file subchannel.h.

◆ GetInitialCallSizeEstimate()

size_t grpc_core::ConnectedSubchannel::GetInitialCallSizeEstimate ( ) const

Definition at line 133 of file subchannel.cc.

◆ Ping()

void grpc_core::ConnectedSubchannel::Ping ( grpc_closure on_initiate,
grpc_closure on_ack 
)

Definition at line 123 of file subchannel.cc.

◆ StartWatch()

void grpc_core::ConnectedSubchannel::StartWatch ( grpc_pollset_set interested_parties,
OrphanablePtr< ConnectivityStateWatcherInterface watcher 
)

Definition at line 112 of file subchannel.cc.

Member Data Documentation

◆ args_

grpc_channel_args* grpc_core::ConnectedSubchannel::args_
private

Definition at line 89 of file subchannel.h.

◆ channel_stack_

grpc_channel_stack* grpc_core::ConnectedSubchannel::channel_stack_
private

Definition at line 88 of file subchannel.h.

◆ channelz_subchannel_

RefCountedPtr<channelz::SubchannelNode> grpc_core::ConnectedSubchannel::channelz_subchannel_
private

Definition at line 92 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:35