C# Class ZeroInstall.Services.Fetchers.SequentialFetcher

Downloads Implementations sequentially.
Inheritance: FetcherBase
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
Fetch ( IEnumerable implementations ) : void
SequentialFetcher ( [ config, [ store, [ handler ) : System

Creates a new sequential download fetcher.

Protected Methods

Method Description
Download ( DownloadRetrievalMethod retrievalMethod, object tag = null ) : TemporaryFile

Private Methods

Method Description
FetchOne ( [ implementation ) : void

Downloads a single Implementation to the IStore. Detects concurrent downloads in other processes.

GetDownloadID ( [ implementation ) : string
GetMirrorUrl ( [ url ) : Uri

Method Details

Download() protected method

protected Download ( DownloadRetrievalMethod retrievalMethod, object tag = null ) : TemporaryFile
retrievalMethod ZeroInstall.Store.Model.DownloadRetrievalMethod
tag object
return TemporaryFile

Fetch() public method

public Fetch ( IEnumerable implementations ) : void
implementations IEnumerable
return void

SequentialFetcher() public method

Creates a new sequential download fetcher.
public SequentialFetcher ( [ config, [ store, [ handler ) : System
config [ User settings controlling network behaviour, solving, etc.
store [ The location to store the downloaded and unpacked s in.
handler [ A callback object used when the the user needs to be informed about progress.
return System