public LocatorStatusResponse statusForLocator(int port, String hostname)
      throws IOException {
    final SSLConfig sslConfig = getSSLConfigurations(getLocator());
    return getLocatorStatusResponse(port, hostname, sslConfig);
  }
Returns the status of the locator on the given host and port

@param port the port that the locator is listening on
@param hostname the host name or ip address that the locator is listening on.
@return a {@link LocatorStatusResponse} representing the status of the locator
@throws IOException if there is a problem interacting with the locator
geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java