def __init__(self,
               server_configuration,
               host,
               balanced_port,
               api_port,
               auth_domain,
               runtime_stderr_loglevel,
               php_executable_path,
               enable_php_remote_debugging,
               python_config,
               cloud_sql_config,
               default_version_port,
               port_registry,
               request_data,
               dispatcher,
               max_instances,
               use_mtime_file_watcher,
               automatic_restarts,
               allow_skipped_files):
    self._server_configuration = server_configuration
    self._name = server_configuration.server_name
    self._host = host
    self._api_port = api_port
    self._auth_domain = auth_domain
    self._runtime_stderr_loglevel = runtime_stderr_loglevel
    self._balanced_port = balanced_port
    self._php_executable_path = php_executable_path
    self._enable_php_remote_debugging = enable_php_remote_debugging
    self._python_config = python_config
    self._cloud_sql_config = cloud_sql_config
    self._request_data = request_data
    # _create_instance_factory() transitively calls _get_runtime_config, which
    # uses self._allow_skipped_files.
    self._allow_skipped_files = allow_skipped_files
    self._instance_factory = self._create_instance_factory(
        self._server_configuration)
    self._dispatcher = dispatcher
    self._max_instances = max_instances
    self._automatic_restarts = automatic_restarts
    self._use_mtime_file_watcher = use_mtime_file_watcher
    if self._automatic_restarts:
      self._watcher = file_watcher.get_file_watcher(
          [self._server_configuration.application_root] +
          self._instance_factory.get_restart_directories(),
          self._use_mtime_file_watcher)
    else:
      self._watcher = None
    self._handler_lock = threading.Lock()
    self._handlers = self._create_url_handlers()
    self._default_version_port = default_version_port
    self._port_registry = port_registry

    self._balanced_server = wsgi_server.WsgiServer(
        (self._host, self._balanced_port), self)
    self._quit_event = threading.Event()  # Set when quit() has been called.
Initializer for Server.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/Server.__init__