public void handshake() {
    if (initializationGate()) {
      // Exchange with any local servers or controllers.
      List<Profile> otherProfiles = new ArrayList<>();
      GridProfile profile = (GridProfile) createProfile();
      profile.tellLocalBridgeServers(getDistributionManager().getCache(), false, true,
          otherProfiles);
      profile.tellLocalControllers(false, true, otherProfiles);
      for (Profile otherProfile : otherProfiles) {
        if (!otherProfile.equals(profile)) {
          putProfile(otherProfile);
        }
      }
    }
    profilesChanged();
  }
Tell everyone else who we are and find out who they are.
geode-core/src/main/java/org/apache/geode/internal/cache/GridAdvisor.java