Imported Upstream version 1.33.1
[platform/upstream/grpc.git] / src / core / ext / filters / client_channel / server_address.h
index 7a188a0..ddcf530 100644 (file)
@@ -97,6 +97,10 @@ class ServerAddress {
   std::string ToString() const;
 
  private:
+  // Allows the channel to access the attributes without knowing the keys.
+  // (We intentionally do not allow LB policies to do this.)
+  friend class ChannelServerAddressPeer;
+
   grpc_resolved_address address_;
   grpc_channel_args* args_;
   std::map<const char*, std::unique_ptr<AttributeInterface>> attributes_;