GRPC Core
18.0.0
|
#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) | |
ServerAddress & | operator= (const ServerAddress &other) |
ServerAddress (ServerAddress &&other) noexcept | |
ServerAddress & | operator= (ServerAddress &&other) noexcept |
bool | operator== (const ServerAddress &other) const |
int | Cmp (const ServerAddress &other) const |
const grpc_resolved_address & | address () const |
const grpc_channel_args * | args () const |
const AttributeInterface * | GetAttribute (const char *key) const |
ServerAddress | WithAttribute (const char *key, std::unique_ptr< AttributeInterface > value) const |
std::string | ToString () const |
grpc_core::ServerAddress::ServerAddress | ( | const grpc_resolved_address & | address, |
grpc_channel_args * | args, | ||
std::map< const char *, std::unique_ptr< AttributeInterface >> | attributes = {} |
||
) |
grpc_core::ServerAddress::ServerAddress | ( | const void * | address, |
size_t | address_len, | ||
grpc_channel_args * | args, | ||
std::map< const char *, std::unique_ptr< AttributeInterface >> | attributes = {} |
||
) |
|
inline |
grpc_core::ServerAddress::ServerAddress | ( | const ServerAddress & | other | ) |
|
noexcept |
|
inline |
|
inline |
int grpc_core::ServerAddress::Cmp | ( | const ServerAddress & | other | ) | const |
const ServerAddress::AttributeInterface * grpc_core::ServerAddress::GetAttribute | ( | const char * | key | ) | const |
ServerAddress & grpc_core::ServerAddress::operator= | ( | const ServerAddress & | other | ) |
|
noexcept |
|
inline |
std::string grpc_core::ServerAddress::ToString | ( | ) | const |
ServerAddress grpc_core::ServerAddress::WithAttribute | ( | const char * | key, |
std::unique_ptr< AttributeInterface > | value | ||
) | const |