Classes | Public Member Functions | Private Attributes | List of all members
grpc_core::XdsClient::ChannelState Class Reference
Inheritance diagram for grpc_core::XdsClient::ChannelState:
Inheritance graph
[legend]

Classes

class  AdsCallState
 
class  LrsCallState
 
class  RetryableCall
 
class  StateWatcher
 

Public Member Functions

AdsCallStateads_calld () const
 
grpc_channelchannel () const
 
 ChannelState (WeakRefCountedPtr< XdsClient > xds_client, const XdsBootstrap::XdsServer &server)
 
bool HasActiveAdsCall () const
 
LrsCallStatelrs_calld () const
 
void MaybeStartLrsCall ()
 
void Orphan () override
 
XdsClientxds_client () const
 
 ~ChannelState () override
 
- Public Member Functions inherited from grpc_core::DualRefCounted< ChannelState >
 DualRefCounted (const DualRefCounted &)=delete
 
DualRefCountedoperator= (const DualRefCounted &)=delete
 
RefCountedPtr< ChannelState > Ref () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ChannelState > Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
RefCountedPtr< ChannelState > RefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ChannelState > RefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
WeakRefCountedPtr< ChannelState > WeakRef () GRPC_MUST_USE_RESULT
 
WeakRefCountedPtr< ChannelState > WeakRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void WeakUnref ()
 
void WeakUnref (const DebugLocation &location, const char *reason)
 
 ~DualRefCounted () override=default
 
- Public Member Functions inherited from grpc_core::Orphanable
Orphanableoperator= (const Orphanable &)=delete
 
 Orphanable (const Orphanable &)=delete
 

Private Attributes

OrphanablePtr< RetryableCall< AdsCallState > > ads_calld_
 
grpc_channelchannel_
 
OrphanablePtr< RetryableCall< LrsCallState > > lrs_calld_
 
std::map< const XdsResourceType *, std::string > resource_type_version_map_
 
const XdsBootstrap::XdsServerserver_
 
bool shutting_down_ = false
 
StateWatcherwatcher_
 
WeakRefCountedPtr< XdsClientxds_client_
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::DualRefCounted< ChannelState >
 DualRefCounted (const char *trace=nullptr, int32_t initial_refcount=1)
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Detailed Description

Definition at line 185 of file xds_client.h.

Constructor & Destructor Documentation

◆ ChannelState()

grpc_core::XdsClient::ChannelState::ChannelState ( WeakRefCountedPtr< XdsClient xds_client,
const XdsBootstrap::XdsServer server 
)

Definition at line 528 of file xds_client.cc.

◆ ~ChannelState()

grpc_core::XdsClient::ChannelState::~ChannelState ( )
override

Definition at line 545 of file xds_client.cc.

Member Function Documentation

◆ ads_calld()

XdsClient::ChannelState::AdsCallState * grpc_core::XdsClient::ChannelState::ads_calld ( ) const

Definition at line 569 of file xds_client.cc.

◆ channel()

grpc_channel* grpc_core::XdsClient::ChannelState::channel ( ) const
inline

Definition at line 199 of file xds_client.h.

◆ HasActiveAdsCall()

bool grpc_core::XdsClient::ChannelState::HasActiveAdsCall ( ) const

Definition at line 579 of file xds_client.cc.

◆ lrs_calld()

XdsClient::ChannelState::LrsCallState * grpc_core::XdsClient::ChannelState::lrs_calld ( ) const

Definition at line 574 of file xds_client.cc.

◆ MaybeStartLrsCall()

void grpc_core::XdsClient::ChannelState::MaybeStartLrsCall ( )

Definition at line 583 of file xds_client.cc.

◆ Orphan()

void grpc_core::XdsClient::ChannelState::Orphan ( )
overridevirtual

Implements grpc_core::Orphanable.

Definition at line 558 of file xds_client.cc.

◆ xds_client()

XdsClient* grpc_core::XdsClient::ChannelState::xds_client ( ) const
inline

Definition at line 200 of file xds_client.h.

Member Data Documentation

◆ ads_calld_

OrphanablePtr<RetryableCall<AdsCallState> > grpc_core::XdsClient::ChannelState::ads_calld_
private

Definition at line 236 of file xds_client.h.

◆ channel_

grpc_channel* grpc_core::XdsClient::ChannelState::channel_
private

Definition at line 231 of file xds_client.h.

◆ lrs_calld_

OrphanablePtr<RetryableCall<LrsCallState> > grpc_core::XdsClient::ChannelState::lrs_calld_
private

Definition at line 237 of file xds_client.h.

◆ resource_type_version_map_

std::map<const XdsResourceType*, std::string > grpc_core::XdsClient::ChannelState::resource_type_version_map_
private

Definition at line 241 of file xds_client.h.

◆ server_

const XdsBootstrap::XdsServer& grpc_core::XdsClient::ChannelState::server_
private

Definition at line 228 of file xds_client.h.

◆ shutting_down_

bool grpc_core::XdsClient::ChannelState::shutting_down_ = false
private

Definition at line 232 of file xds_client.h.

◆ watcher_

StateWatcher* grpc_core::XdsClient::ChannelState::watcher_
private

Definition at line 233 of file xds_client.h.

◆ xds_client_

WeakRefCountedPtr<XdsClient> grpc_core::XdsClient::ChannelState::xds_client_
private

Definition at line 223 of file xds_client.h.


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


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