#include <lb_policy.h>
Public Member Functions | |
UpdateArgs & | operator= (const UpdateArgs &other) |
UpdateArgs & | operator= (UpdateArgs &&other) noexcept |
UpdateArgs ()=default | |
UpdateArgs (const UpdateArgs &other) | |
UpdateArgs (UpdateArgs &&other) noexcept | |
~UpdateArgs () | |
Public Attributes | |
absl::StatusOr< ServerAddressList > | addresses |
const grpc_channel_args * | args = nullptr |
RefCountedPtr< Config > | config |
The LB policy config. More... | |
std::string | resolution_note |
Data passed to the UpdateLocked() method when new addresses and config are available.
Definition at line 315 of file lb_policy.h.
|
default |
|
inline |
Definition at line 335 of file lb_policy.h.
grpc_core::LoadBalancingPolicy::UpdateArgs::UpdateArgs | ( | const UpdateArgs & | other | ) |
Definition at line 59 of file lb_policy.cc.
|
noexcept |
Definition at line 65 of file lb_policy.cc.
LoadBalancingPolicy::UpdateArgs & grpc_core::LoadBalancingPolicy::UpdateArgs::operator= | ( | const UpdateArgs & | other | ) |
Definition at line 74 of file lb_policy.cc.
|
noexcept |
Definition at line 85 of file lb_policy.cc.
absl::StatusOr<ServerAddressList> grpc_core::LoadBalancingPolicy::UpdateArgs::addresses |
A list of addresses, or an error indicating a failure to obtain the list of addresses.
Definition at line 318 of file lb_policy.h.
const grpc_channel_args* grpc_core::LoadBalancingPolicy::UpdateArgs::args = nullptr |
Definition at line 330 of file lb_policy.h.
RefCountedPtr<Config> grpc_core::LoadBalancingPolicy::UpdateArgs::config |
The LB policy config.
Definition at line 320 of file lb_policy.h.
std::string grpc_core::LoadBalancingPolicy::UpdateArgs::resolution_note |
A human-readable note providing context about the name resolution that provided this update. LB policies may wish to include this message in RPC failure status messages. For example, if the update has an empty list of addresses, this message might say "no DNS entries found for <name>".
Definition at line 326 of file lb_policy.h.