Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
grpc_core::SubchannelList< SubchannelListType, SubchannelDataType > Class Template Reference

#include <subchannel_list.h>

Public Member Functions

size_t num_subchannels () const
 
void Orphan () override
 
LoadBalancingPolicypolicy () const
 
void ResetBackoffLocked ()
 
bool shutting_down () const
 
void StartWatchingLocked ()
 
SubchannelDataType * subchannel (size_t index)
 
const char * tracer () const
 

Protected Member Functions

virtual void ShutdownLocked ()
 
 SubchannelList (LoadBalancingPolicy *policy, const char *tracer, ServerAddressList addresses, LoadBalancingPolicy::ChannelControlHelper *helper, const grpc_channel_args &args)
 
virtual ~SubchannelList ()
 

Private Attributes

LoadBalancingPolicypolicy_
 
bool shutting_down_ = false
 
std::vector< ManualConstructor< SubchannelDataType > > subchannels_
 
const char * tracer_
 

Friends

class SubchannelData< SubchannelListType, SubchannelDataType >
 

Detailed Description

template<typename SubchannelListType, typename SubchannelDataType>
class grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >

Definition at line 75 of file subchannel_list.h.

Constructor & Destructor Documentation

◆ SubchannelList()

template<typename SubchannelListType , typename SubchannelDataType >
grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::SubchannelList ( LoadBalancingPolicy policy,
const char *  tracer,
ServerAddressList  addresses,
LoadBalancingPolicy::ChannelControlHelper helper,
const grpc_channel_args args 
)
protected

Definition at line 364 of file subchannel_list.h.

◆ ~SubchannelList()

template<typename SubchannelListType , typename SubchannelDataType >
grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::~SubchannelList
protectedvirtual

Definition at line 404 of file subchannel_list.h.

Member Function Documentation

◆ num_subchannels()

template<typename SubchannelListType , typename SubchannelDataType >
size_t grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::num_subchannels ( ) const
inline

Definition at line 186 of file subchannel_list.h.

◆ Orphan()

template<typename SubchannelListType , typename SubchannelDataType >
void grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::Orphan ( )
inlineoverride

Definition at line 203 of file subchannel_list.h.

◆ policy()

template<typename SubchannelListType , typename SubchannelDataType >
LoadBalancingPolicy* grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::policy ( ) const
inline

Definition at line 197 of file subchannel_list.h.

◆ ResetBackoffLocked()

template<typename SubchannelListType , typename SubchannelDataType >
void grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::ResetBackoffLocked

Definition at line 437 of file subchannel_list.h.

◆ ShutdownLocked()

template<typename SubchannelListType , typename SubchannelDataType >
void grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::ShutdownLocked
protectedvirtual

Definition at line 423 of file subchannel_list.h.

◆ shutting_down()

template<typename SubchannelListType , typename SubchannelDataType >
bool grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::shutting_down ( ) const
inline

Definition at line 194 of file subchannel_list.h.

◆ StartWatchingLocked()

template<typename SubchannelListType , typename SubchannelDataType >
void grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::StartWatchingLocked

Definition at line 416 of file subchannel_list.h.

◆ subchannel()

template<typename SubchannelListType , typename SubchannelDataType >
SubchannelDataType* grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::subchannel ( size_t  index)
inline

Definition at line 189 of file subchannel_list.h.

◆ tracer()

template<typename SubchannelListType , typename SubchannelDataType >
const char* grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::tracer ( ) const
inline

Definition at line 198 of file subchannel_list.h.

Friends And Related Function Documentation

◆ SubchannelData< SubchannelListType, SubchannelDataType >

template<typename SubchannelListType , typename SubchannelDataType >
friend class SubchannelData< SubchannelListType, SubchannelDataType >
friend

Definition at line 220 of file subchannel_list.h.

Member Data Documentation

◆ policy_

template<typename SubchannelListType , typename SubchannelDataType >
LoadBalancingPolicy* grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::policy_
private

Definition at line 223 of file subchannel_list.h.

◆ shutting_down_

template<typename SubchannelListType , typename SubchannelDataType >
bool grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::shutting_down_ = false
private

Definition at line 235 of file subchannel_list.h.

◆ subchannels_

template<typename SubchannelListType , typename SubchannelDataType >
std::vector<ManualConstructor<SubchannelDataType> > grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::subchannels_
private

Definition at line 230 of file subchannel_list.h.

◆ tracer_

template<typename SubchannelListType , typename SubchannelDataType >
const char* grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::tracer_
private

Definition at line 225 of file subchannel_list.h.


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


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