GRPC Core  9.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  ServiceConfigWatcherInterface
 

Public Member Functions

 XdsClient (Combiner *combiner, grpc_pollset_set *interested_parties, StringView server_name, std::unique_ptr< ServiceConfigWatcherInterface > watcher, const grpc_channel_args &channel_args, grpc_error **error)
 
 ~XdsClient ()
 
void Orphan () override
 
void WatchClusterData (StringView cluster, std::unique_ptr< ClusterWatcherInterface > watcher)
 
void CancelClusterDataWatch (StringView cluster, ClusterWatcherInterface *watcher)
 
void WatchEndpointData (StringView cluster, std::unique_ptr< EndpointWatcherInterface > watcher)
 
void CancelEndpointDataWatch (StringView cluster, EndpointWatcherInterface *watcher)
 
void AddClientStats (StringView lrs_server, StringView cluster, XdsClientStats *client_stats)
 
void RemoveClientStats (StringView lrs_server, StringView cluster, XdsClientStats *client_stats)
 
void ResetBackoff ()
 
grpc_arg MakeChannelArg () const
 
- Public Member Functions inherited from grpc_core::InternallyRefCounted< XdsClient >
 InternallyRefCounted (const InternallyRefCounted &)=delete
 
InternallyRefCountedoperator= (const InternallyRefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::Orphanable
 Orphanable (const Orphanable &)=delete
 
Orphanableoperator= (const Orphanable &)=delete
 

Static Public Member Functions

static RefCountedPtr< XdsClientGetFromChannelArgs (const grpc_channel_args &args)
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::InternallyRefCounted< XdsClient >
 InternallyRefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 
virtual ~InternallyRefCounted ()=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)
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Constructor & Destructor Documentation

◆ XdsClient()

grpc_core::XdsClient::XdsClient ( Combiner combiner,
grpc_pollset_set interested_parties,
StringView  server_name,
std::unique_ptr< ServiceConfigWatcherInterface watcher,
const grpc_channel_args channel_args,
grpc_error **  error 
)

◆ ~XdsClient()

grpc_core::XdsClient::~XdsClient ( )

Member Function Documentation

◆ AddClientStats()

void grpc_core::XdsClient::AddClientStats ( StringView  lrs_server,
StringView  cluster,
XdsClientStats client_stats 
)

◆ CancelClusterDataWatch()

void grpc_core::XdsClient::CancelClusterDataWatch ( StringView  cluster,
ClusterWatcherInterface watcher 
)

◆ CancelEndpointDataWatch()

void grpc_core::XdsClient::CancelEndpointDataWatch ( StringView  cluster,
EndpointWatcherInterface watcher 
)

◆ GetFromChannelArgs()

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

◆ MakeChannelArg()

grpc_arg grpc_core::XdsClient::MakeChannelArg ( ) const

◆ Orphan()

void grpc_core::XdsClient::Orphan ( )
overridevirtual

Implements grpc_core::Orphanable.

◆ RemoveClientStats()

void grpc_core::XdsClient::RemoveClientStats ( StringView  lrs_server,
StringView  cluster,
XdsClientStats client_stats 
)

◆ ResetBackoff()

void grpc_core::XdsClient::ResetBackoff ( )

◆ WatchClusterData()

void grpc_core::XdsClient::WatchClusterData ( StringView  cluster,
std::unique_ptr< ClusterWatcherInterface watcher 
)

◆ WatchEndpointData()

void grpc_core::XdsClient::WatchEndpointData ( StringView  cluster,
std::unique_ptr< EndpointWatcherInterface watcher 
)

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