GRPC C++  1.39.1
Public Types | Public Member Functions | Protected Member Functions | Friends
grpc_core::SubchannelList< SubchannelListType, SubchannelDataType > Class Template Reference

#include <subchannel_list.h>

Public Types

typedef absl::InlinedVector< SubchannelDataType, 10 > SubchannelVector
 

Public Member Functions

size_t num_subchannels () const
 
SubchannelDataType * subchannel (size_t index)
 
bool shutting_down () const
 
LoadBalancingPolicypolicy () const
 
TraceFlagtracer () const
 
void ResetBackoffLocked ()
 
void Orphan () override
 
- Public Member Functions inherited from grpc_core::InternallyRefCounted< SubchannelListType >
 InternallyRefCounted (const InternallyRefCounted &)=delete
 
InternallyRefCountedoperator= (const InternallyRefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::Orphanable
 Orphanable (const Orphanable &)=delete
 
Orphanableoperator= (const Orphanable &)=delete
 

Protected Member Functions

 SubchannelList (LoadBalancingPolicy *policy, TraceFlag *tracer, ServerAddressList addresses, LoadBalancingPolicy::ChannelControlHelper *helper, const grpc_channel_args &args)
 
virtual ~SubchannelList ()
 
- Protected Member Functions inherited from grpc_core::InternallyRefCounted< SubchannelListType >
 InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 
 ~InternallyRefCounted () override=default
 
RefCountedPtr< SubchannelListType > Ref () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelListType > Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Friends

class SubchannelData< SubchannelListType, SubchannelDataType >
 

Member Typedef Documentation

◆ SubchannelVector

template<typename SubchannelListType , typename SubchannelDataType >
typedef absl::InlinedVector<SubchannelDataType, 10> grpc_core::SubchannelList< SubchannelListType, SubchannelDataType >::SubchannelVector

Constructor & Destructor Documentation

◆ SubchannelList()

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

◆ ~SubchannelList()

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

Member Function Documentation

◆ num_subchannels()

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

◆ Orphan()

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

Implements grpc_core::Orphanable.

◆ policy()

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

◆ ResetBackoffLocked()

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

◆ shutting_down()

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

◆ subchannel()

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

◆ tracer()

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

Friends And Related Function Documentation

◆ SubchannelData< SubchannelListType, SubchannelDataType >

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

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