@@ -93,7 +93,7 @@ public void uncaughtException(Thread t, Throwable e) {
9393 private final FilterRegistry filterRegistry = FilterRegistry .getDefaultRegistry ();
9494 private final LoadBalancerRegistry loadBalancerRegistry
9595 = LoadBalancerRegistry .getDefaultRegistry ();
96- private final Map <ServerInfo , AbstractXdsClient > serverChannelMap = new HashMap <>();
96+ private final Map <ServerInfo , ControlPlaneClient > serverChannelMap = new HashMap <>();
9797 private final Map <XdsResourceType <? extends ResourceUpdate >,
9898 Map <String , ResourceSubscriber <? extends ResourceUpdate >>>
9999 resourceSubscribers = new HashMap <>();
@@ -144,7 +144,7 @@ private void maybeCreateXdsChannelWithLrs(ServerInfo serverInfo) {
144144 if (serverChannelMap .containsKey (serverInfo )) {
145145 return ;
146146 }
147- AbstractXdsClient xdsChannel = new AbstractXdsClient (
147+ ControlPlaneClient xdsChannel = new ControlPlaneClient (
148148 xdsChannelFactory ,
149149 serverInfo ,
150150 bootstrapInfo .node (),
@@ -218,7 +218,7 @@ public void run() {
218218 return ;
219219 }
220220 isShutdown = true ;
221- for (AbstractXdsClient xdsChannel : serverChannelMap .values ()) {
221+ for (ControlPlaneClient xdsChannel : serverChannelMap .values ()) {
222222 xdsChannel .shutdown ();
223223 }
224224 if (reportingLoad ) {
@@ -490,7 +490,7 @@ private <T extends ResourceUpdate> void handleResourceUpdate(XdsResourceType.Arg
490490 */
491491 private final class ResourceSubscriber <T extends ResourceUpdate > {
492492 @ Nullable private final ServerInfo serverInfo ;
493- @ Nullable private final AbstractXdsClient xdsChannel ;
493+ @ Nullable private final ControlPlaneClient xdsChannel ;
494494 private final XdsResourceType <T > type ;
495495 private final String resource ;
496496 private final Set <ResourceWatcher <T >> watchers = new HashSet <>();
@@ -518,7 +518,7 @@ private final class ResourceSubscriber<T extends ResourceUpdate> {
518518 // is created but not yet requested because the client is in backoff.
519519 this .metadata = ResourceMetadata .newResourceMetadataUnknown ();
520520
521- AbstractXdsClient xdsChannelTemp = null ;
521+ ControlPlaneClient xdsChannelTemp = null ;
522522 try {
523523 maybeCreateXdsChannelWithLrs (serverInfo );
524524 xdsChannelTemp = serverChannelMap .get (serverInfo );
0 commit comments