parameters: (self)
return_statement: return self._wpr_server.StartServer()
docstring: Start the replay server and return the started local_ports.
docstring_summary: Start the replay server and return the started local_ports.
docstring_tokens: Start the replay server and return the started local_ports .
function: def _StartReplayServer(self):
      """Start the replay server and return the started local_ports."""
      self._StopReplayServer()  # In case it was already running.
      local_ports = self._wpr_port_pairs.local_ports
      self._wpr_server = wpr_server.ReplayServer(
          self._archive_path,
          self.host_ip,
          local_ports.http,
          local_ports.https,
          local_ports.dns,
          self._ReplayCommandLineArgs())
      return self._wpr_server.StartServer()
function_tokens: def _StartReplayServer ( self ) : self . _StopReplayServer ( ) # In case it was already running. local_ports = self . _wpr_port_pairs . local_ports self . _wpr_server = wpr_server . ReplayServer ( self . _archive_path , self . host_ip , local_ports . http , local_ports . https , local_ports . dns , self . _ReplayCommandLineArgs ( ) ) return self . _wpr_server . StartServer ( )