private RemoteLocatorJoinRequest buildRemoteDSJoinRequest(int port, DistributionConfigImpl config,
      final String hostnameForClients) {
    final String localLocator = config.getStartLocator();
    final String memberName = config.getName();

    final DistributionLocatorId locatorId;
    if (localLocator.equals(DistributionConfig.DEFAULT_START_LOCATOR)) {
      locatorId = new DistributionLocatorId(port, config.getBindAddress(), hostnameForClients,
          memberName);
    } else {
      locatorId = DistributionLocatorId.unmarshal(localLocator, memberName);
    }
    return new RemoteLocatorJoinRequest(config.getDistributedSystemId(), locatorId, "");
  }
For WAN 70 Exchange the locator information across the distributed systems (sites)
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/client/locator/WanLocatorDiscovererImpl.java