C# Class withSIX.Sync.Core.Transfer.Protocols.ZsyncDownloadWithHttpFallbackProtocol

Inheritance: ZsyncDownloadProtocol
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
Download ( TransferSpec spec ) : void
DownloadAsync ( TransferSpec spec ) : System.Threading.Tasks.Task
ZsyncDownloadWithHttpFallbackProtocol ( IZsyncLauncher zsyncLauncher, IHttpDownloadProtocol httpDownloader ) : System

Méthodes protégées

Méthode Description
TryRegularHttpDownload ( TransferSpec spec, Exception exception ) : void
TryRegularHttpDownloadAsync ( TransferSpec spec, Exception exception ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
AllowZsyncFallback ( ITransferProgress progress ) : bool
TryDownload ( TransferSpec spec ) : void
TryDownloadAsync ( TransferSpec spec ) : System.Threading.Tasks.Task

Method Details

Download() public méthode

public Download ( TransferSpec spec ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat void

DownloadAsync() public méthode

public DownloadAsync ( TransferSpec spec ) : System.Threading.Tasks.Task
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat System.Threading.Tasks.Task

TryRegularHttpDownload() protected méthode

protected TryRegularHttpDownload ( TransferSpec spec, Exception exception ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
exception System.Exception
Résultat void

TryRegularHttpDownloadAsync() protected méthode

protected TryRegularHttpDownloadAsync ( TransferSpec spec, Exception exception ) : System.Threading.Tasks.Task
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
exception System.Exception
Résultat System.Threading.Tasks.Task

ZsyncDownloadWithHttpFallbackProtocol() public méthode

public ZsyncDownloadWithHttpFallbackProtocol ( IZsyncLauncher zsyncLauncher, IHttpDownloadProtocol httpDownloader ) : System
zsyncLauncher IZsyncLauncher
httpDownloader IHttpDownloadProtocol
Résultat System