C# Class withSIX.Sync.Core.Transfer.FileQueueDownloader

Inheritance: IFileQueueDownloader
Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
DownloadAsync ( FileQueueSpec spec ) : Task
DownloadAsync ( FileQueueSpec spec, CancellationToken token ) : Task
FileQueueDownloader ( IMultiMirrorFileDownloader downloader ) : System.Collections.Generic

Protected Methods

Method Description
GetDlSpec ( FileQueueSpec spec, ITransferStatus>.KeyValuePair file ) : MultiMirrorFileDownloadSpec
GetDlSpec ( FileQueueSpec spec, ITransferStatus>.KeyValuePair file, CancellationToken token ) : MultiMirrorFileDownloadSpec

Method Details

DownloadAsync() public method

public DownloadAsync ( FileQueueSpec spec ) : Task
spec FileQueueSpec
return Task

DownloadAsync() public method

public DownloadAsync ( FileQueueSpec spec, CancellationToken token ) : Task
spec FileQueueSpec
token System.Threading.CancellationToken
return Task

FileQueueDownloader() public method

public FileQueueDownloader ( IMultiMirrorFileDownloader downloader ) : System.Collections.Generic
downloader IMultiMirrorFileDownloader
return System.Collections.Generic

GetDlSpec() protected static method

protected static GetDlSpec ( FileQueueSpec spec, ITransferStatus>.KeyValuePair file ) : MultiMirrorFileDownloadSpec
spec FileQueueSpec
file ITransferStatus>.KeyValuePair
return withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec

GetDlSpec() protected static method

protected static GetDlSpec ( FileQueueSpec spec, ITransferStatus>.KeyValuePair file, CancellationToken token ) : MultiMirrorFileDownloadSpec
spec FileQueueSpec
file ITransferStatus>.KeyValuePair
token System.Threading.CancellationToken
return withSIX.Sync.Core.Transfer.Specs.MultiMirrorFileDownloadSpec