GRPC Core  18.0.0
Data Structures | Public Member Functions | Static Public Member Functions
grpc_core::XdsClient Class Reference

#include <xds_client.h>

Data Structures

class  ClusterWatcherInterface
 
class  EndpointWatcherInterface
 
class  ListenerWatcherInterface
 
class  RouteConfigWatcherInterface
 

Public Member Functions

 XdsClient (std::unique_ptr< XdsBootstrap > bootstrap, const grpc_channel_args *args)
 
 ~XdsClient () override
 
const XdsBootstrapbootstrap () const
 
CertificateProviderStorecertificate_provider_store ()
 
grpc_pollset_setinterested_parties () const
 
void AddChannelzLinkage (channelz::ChannelNode *parent_channelz_node)
 
void RemoveChannelzLinkage (channelz::ChannelNode *parent_channelz_node)
 
void Orphan () override
 
void WatchListenerData (absl::string_view listener_name, std::unique_ptr< ListenerWatcherInterface > watcher)
 
void CancelListenerDataWatch (absl::string_view listener_name, ListenerWatcherInterface *watcher, bool delay_unsubscription=false)
 
void WatchRouteConfigData (absl::string_view route_config_name, std::unique_ptr< RouteConfigWatcherInterface > watcher)
 
void CancelRouteConfigDataWatch (absl::string_view route_config_name, RouteConfigWatcherInterface *watcher, bool delay_unsubscription=false)
 
void WatchClusterData (absl::string_view cluster_name, std::unique_ptr< ClusterWatcherInterface > watcher)
 
void CancelClusterDataWatch (absl::string_view cluster_name, ClusterWatcherInterface *watcher, bool delay_unsubscription=false)
 
void WatchEndpointData (absl::string_view eds_service_name, std::unique_ptr< EndpointWatcherInterface > watcher)
 
void CancelEndpointDataWatch (absl::string_view eds_service_name, EndpointWatcherInterface *watcher, bool delay_unsubscription=false)
 
RefCountedPtr< XdsClusterDropStatsAddClusterDropStats (absl::string_view lrs_server, absl::string_view cluster_name, absl::string_view eds_service_name)
 
void RemoveClusterDropStats (absl::string_view, absl::string_view cluster_name, absl::string_view eds_service_name, XdsClusterDropStats *cluster_drop_stats)
 
RefCountedPtr< XdsClusterLocalityStatsAddClusterLocalityStats (absl::string_view lrs_server, absl::string_view cluster_name, absl::string_view eds_service_name, RefCountedPtr< XdsLocalityName > locality)
 
void RemoveClusterLocalityStats (absl::string_view, absl::string_view cluster_name, absl::string_view eds_service_name, const RefCountedPtr< XdsLocalityName > &locality, XdsClusterLocalityStats *cluster_locality_stats)
 
void ResetBackoff ()
 
std::string DumpClientConfigBinary ()
 
grpc_arg MakeChannelArg () const
 
- Public Member Functions inherited from grpc_core::DualRefCounted< XdsClient >
 ~DualRefCounted () override=default
 
RefCountedPtr< XdsClientRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsClientRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< XdsClientRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsClientRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
WeakRefCountedPtr< XdsClientWeakRef () GRPC_MUST_USE_RESULT
 
WeakRefCountedPtr< XdsClientWeakRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void WeakUnref ()
 
void WeakUnref (const DebugLocation &location, const char *reason)
 
 DualRefCounted (const DualRefCounted &)=delete
 
DualRefCountedoperator= (const DualRefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::Orphanable
 Orphanable (const Orphanable &)=delete
 
Orphanableoperator= (const Orphanable &)=delete
 

Static Public Member Functions

static RefCountedPtr< XdsClientGetOrCreate (const grpc_channel_args *args, grpc_error_handle *error)
 
static RefCountedPtr< XdsClientGetFromChannelArgs (const grpc_channel_args &args)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ XdsClient()

grpc_core::XdsClient::XdsClient ( std::unique_ptr< XdsBootstrap bootstrap,
const grpc_channel_args args 
)

◆ ~XdsClient()

grpc_core::XdsClient::~XdsClient ( )
override

Member Function Documentation

◆ AddChannelzLinkage()

void grpc_core::XdsClient::AddChannelzLinkage ( channelz::ChannelNode parent_channelz_node)

◆ AddClusterDropStats()

RefCountedPtr< XdsClusterDropStats > grpc_core::XdsClient::AddClusterDropStats ( absl::string_view  lrs_server,
absl::string_view  cluster_name,
absl::string_view  eds_service_name 
)

◆ AddClusterLocalityStats()

RefCountedPtr< XdsClusterLocalityStats > grpc_core::XdsClient::AddClusterLocalityStats ( absl::string_view  lrs_server,
absl::string_view  cluster_name,
absl::string_view  eds_service_name,
RefCountedPtr< XdsLocalityName locality 
)

◆ bootstrap()

const XdsBootstrap& grpc_core::XdsClient::bootstrap ( ) const
inline

◆ CancelClusterDataWatch()

void grpc_core::XdsClient::CancelClusterDataWatch ( absl::string_view  cluster_name,
ClusterWatcherInterface watcher,
bool  delay_unsubscription = false 
)

◆ CancelEndpointDataWatch()

void grpc_core::XdsClient::CancelEndpointDataWatch ( absl::string_view  eds_service_name,
EndpointWatcherInterface watcher,
bool  delay_unsubscription = false 
)

◆ CancelListenerDataWatch()

void grpc_core::XdsClient::CancelListenerDataWatch ( absl::string_view  listener_name,
ListenerWatcherInterface watcher,
bool  delay_unsubscription = false 
)

◆ CancelRouteConfigDataWatch()

void grpc_core::XdsClient::CancelRouteConfigDataWatch ( absl::string_view  route_config_name,
RouteConfigWatcherInterface watcher,
bool  delay_unsubscription = false 
)

◆ certificate_provider_store()

CertificateProviderStore& grpc_core::XdsClient::certificate_provider_store ( )
inline

◆ DumpClientConfigBinary()

std::string grpc_core::XdsClient::DumpClientConfigBinary ( )

◆ GetFromChannelArgs()

RefCountedPtr< XdsClient > grpc_core::XdsClient::GetFromChannelArgs ( const grpc_channel_args args)
static

◆ GetOrCreate()

RefCountedPtr< XdsClient > grpc_core::XdsClient::GetOrCreate ( const grpc_channel_args args,
grpc_error_handle error 
)
static

◆ interested_parties()

grpc_pollset_set* grpc_core::XdsClient::interested_parties ( ) const
inline

◆ MakeChannelArg()

grpc_arg grpc_core::XdsClient::MakeChannelArg ( ) const

◆ Orphan()

void grpc_core::XdsClient::Orphan ( )
overridevirtual

Implements grpc_core::Orphanable.

◆ RemoveChannelzLinkage()

void grpc_core::XdsClient::RemoveChannelzLinkage ( channelz::ChannelNode parent_channelz_node)

◆ RemoveClusterDropStats()

void grpc_core::XdsClient::RemoveClusterDropStats ( absl::string_view  ,
absl::string_view  cluster_name,
absl::string_view  eds_service_name,
XdsClusterDropStats cluster_drop_stats 
)

◆ RemoveClusterLocalityStats()

void grpc_core::XdsClient::RemoveClusterLocalityStats ( absl::string_view  ,
absl::string_view  cluster_name,
absl::string_view  eds_service_name,
const RefCountedPtr< XdsLocalityName > &  locality,
XdsClusterLocalityStats cluster_locality_stats 
)

◆ ResetBackoff()

void grpc_core::XdsClient::ResetBackoff ( )

◆ WatchClusterData()

void grpc_core::XdsClient::WatchClusterData ( absl::string_view  cluster_name,
std::unique_ptr< ClusterWatcherInterface watcher 
)

◆ WatchEndpointData()

void grpc_core::XdsClient::WatchEndpointData ( absl::string_view  eds_service_name,
std::unique_ptr< EndpointWatcherInterface watcher 
)

◆ WatchListenerData()

void grpc_core::XdsClient::WatchListenerData ( absl::string_view  listener_name,
std::unique_ptr< ListenerWatcherInterface watcher 
)

◆ WatchRouteConfigData()

void grpc_core::XdsClient::WatchRouteConfigData ( absl::string_view  route_config_name,
std::unique_ptr< RouteConfigWatcherInterface watcher 
)

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