GRPC C++  1.39.1
Data Structures | Public Member Functions
grpc_core::ServerAddress Class Reference

#include <server_address.h>

Data Structures

class  AttributeInterface
 

Public Member Functions

 ServerAddress (const grpc_resolved_address &address, grpc_channel_args *args, std::map< const char *, std::unique_ptr< AttributeInterface >> attributes={})
 
 ServerAddress (const void *address, size_t address_len, grpc_channel_args *args, std::map< const char *, std::unique_ptr< AttributeInterface >> attributes={})
 
 ~ServerAddress ()
 
 ServerAddress (const ServerAddress &other)
 
ServerAddressoperator= (const ServerAddress &other)
 
 ServerAddress (ServerAddress &&other) noexcept
 
ServerAddressoperator= (ServerAddress &&other) noexcept
 
bool operator== (const ServerAddress &other) const
 
int Cmp (const ServerAddress &other) const
 
const grpc_resolved_addressaddress () const
 
const grpc_channel_argsargs () const
 
const AttributeInterfaceGetAttribute (const char *key) const
 
ServerAddress WithAttribute (const char *key, std::unique_ptr< AttributeInterface > value) const
 
std::string ToString () const
 

Constructor & Destructor Documentation

◆ ServerAddress() [1/4]

grpc_core::ServerAddress::ServerAddress ( const grpc_resolved_address address,
grpc_channel_args args,
std::map< const char *, std::unique_ptr< AttributeInterface >>  attributes = {} 
)

◆ ServerAddress() [2/4]

grpc_core::ServerAddress::ServerAddress ( const void *  address,
size_t  address_len,
grpc_channel_args args,
std::map< const char *, std::unique_ptr< AttributeInterface >>  attributes = {} 
)

◆ ~ServerAddress()

grpc_core::ServerAddress::~ServerAddress ( )
inline

◆ ServerAddress() [3/4]

grpc_core::ServerAddress::ServerAddress ( const ServerAddress other)

◆ ServerAddress() [4/4]

grpc_core::ServerAddress::ServerAddress ( ServerAddress &&  other)
noexcept

Member Function Documentation

◆ address()

const grpc_resolved_address& grpc_core::ServerAddress::address ( ) const
inline

◆ args()

const grpc_channel_args* grpc_core::ServerAddress::args ( ) const
inline

◆ Cmp()

int grpc_core::ServerAddress::Cmp ( const ServerAddress other) const

◆ GetAttribute()

const ServerAddress::AttributeInterface * grpc_core::ServerAddress::GetAttribute ( const char *  key) const

◆ operator=() [1/2]

ServerAddress & grpc_core::ServerAddress::operator= ( const ServerAddress other)

◆ operator=() [2/2]

ServerAddress & grpc_core::ServerAddress::operator= ( ServerAddress &&  other)
noexcept

◆ operator==()

bool grpc_core::ServerAddress::operator== ( const ServerAddress other) const
inline

◆ ToString()

std::string grpc_core::ServerAddress::ToString ( ) const

◆ WithAttribute()

ServerAddress grpc_core::ServerAddress::WithAttribute ( const char *  key,
std::unique_ptr< AttributeInterface value 
) const

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