@Override
  public void setRmiServerPort(int port) {
    checkReadOnly();
    rmiServerPort = validateRmiServerPort(rmiServerPort);
    configChanged();
  }
Sets the port of the RMI Connector Server.

@param port rmi-server-port to set.

@since GemFire 6.5
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentConfigImpl.java