GRPC C++  1.39.1
Public Member Functions
grpc_core::XdsLocalityAttribute Class Reference

#include <xds.h>

Public Member Functions

 XdsLocalityAttribute (RefCountedPtr< XdsLocalityName > locality_name)
 
RefCountedPtr< XdsLocalityNamelocality_name () const
 
std::unique_ptr< AttributeInterface > Copy () const override
 
int Cmp (const AttributeInterface *other) const override
 
std::string ToString () const override
 
- Public Member Functions inherited from grpc_core::ServerAddress::AttributeInterface
virtual ~AttributeInterface ()=default
 
virtual int Cmp (const AttributeInterface *other) const =0
 

Constructor & Destructor Documentation

◆ XdsLocalityAttribute()

grpc_core::XdsLocalityAttribute::XdsLocalityAttribute ( RefCountedPtr< XdsLocalityName locality_name)
inlineexplicit

Member Function Documentation

◆ Cmp()

int grpc_core::XdsLocalityAttribute::Cmp ( const AttributeInterface *  other) const
inlineoverride

◆ Copy()

std::unique_ptr<AttributeInterface> grpc_core::XdsLocalityAttribute::Copy ( ) const
inlineoverridevirtual

◆ locality_name()

RefCountedPtr<XdsLocalityName> grpc_core::XdsLocalityAttribute::locality_name ( ) const
inline

◆ ToString()

std::string grpc_core::XdsLocalityAttribute::ToString ( ) const
inlineoverridevirtual

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