parameters: (self, device, wpr_archive_path)
docstring: Starts the wpr_server as well as the ts_proxy server and setups env.
  
      Args:
        device: A DeviceUtils instance.
        wpr_archive_path: A abs path to the wpr archive file.
docstring_summary: Starts the wpr_server as well as the ts_proxy server and setups env.
docstring_tokens: Starts the wpr_server as well as the ts_proxy server and setups env .
function: def Start(self, device, wpr_archive_path):
      """Starts the wpr_server as well as the ts_proxy server and setups env.
  
      Args:
        device: A DeviceUtils instance.
        wpr_archive_path: A abs path to the wpr archive file.
  
      """
      self._wpr_server.StartServer(wpr_archive_path)
      self._ts_proxy_server.StartServer()
  
      # Maps device port to host port
      forwarder.Forwarder.Map(
          [(self._device_proxy_port, self._ts_proxy_server.port)], device)
      # Maps tsProxy port to wpr http/https ports
      self._ts_proxy_server.UpdateOutboundPorts(
          http_port=self._wpr_server.http_port,
          https_port=self._wpr_server.https_port)
      self._ts_proxy_server.UpdateTrafficSettings(
          round_trip_latency_ms=DEFAULT_ROUND_TRIP_LATENCY_MS,
          download_bandwidth_kbps=DEFAULT_DOWNLOAD_BANDWIDTH_KBPS,
          upload_bandwidth_kbps=DEFAULT_UPLOAD_BANDWIDTH_KBPS)
function_tokens: def Start ( self , device , wpr_archive_path ) : self . _wpr_server . StartServer ( wpr_archive_path ) self . _ts_proxy_server . StartServer ( ) # Maps device port to host port forwarder . Forwarder . Map ( [ ( self . _device_proxy_port , self . _ts_proxy_server . port ) ] , device ) # Maps tsProxy port to wpr http/https ports self . _ts_proxy_server . UpdateOutboundPorts ( http_port = self . _wpr_server . http_port , https_port = self . _wpr_server . https_port ) self . _ts_proxy_server . UpdateTrafficSettings ( round_trip_latency_ms = DEFAULT_ROUND_TRIP_LATENCY_MS , download_bandwidth_kbps = DEFAULT_DOWNLOAD_BANDWIDTH_KBPS , upload_bandwidth_kbps = DEFAULT_UPLOAD_BANDWIDTH_KBPS )