protected void setLocator(String address, int port) throws IOException {
    locatorAddress = address;
    locatorPort = port;
    updateLocator();
  }
Sets the container's locator

Sets the two variables {@link #locatorAddress} and {@link #locatorPort}. Also calls the
{@link #updateLocator()} function to write the updated locator properties to the file.

@param address the host name or ip address that the locator is listening on
@param port the port that the locator is listening on
@throws IOException if an exception is encountered when updating the locator property file
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/session/tests/ServerContainer.java