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

Inheritance: ZsyncDownloadWithHttpFallbackProtocol, IEnableLogging
Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
LogMessage ( TransferSpec spec, Exception e ) : void
LoggingZsyncDownloadWithHttpFallbackProtocol ( IZsyncLauncher zsyncLauncher, IHttpDownloadProtocol httpDownloader ) : System

Protected Methods

Method Description
TryRegularHttpDownload ( TransferSpec spec, Exception e ) : void
TryRegularHttpDownloadAsync ( TransferSpec spec, Exception e ) : System.Threading.Tasks.Task

Method Details

LogMessage() public method

public LogMessage ( TransferSpec spec, Exception e ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
e System.Exception
return void

LoggingZsyncDownloadWithHttpFallbackProtocol() public method

public LoggingZsyncDownloadWithHttpFallbackProtocol ( IZsyncLauncher zsyncLauncher, IHttpDownloadProtocol httpDownloader ) : System
zsyncLauncher IZsyncLauncher
httpDownloader IHttpDownloadProtocol
return System

TryRegularHttpDownload() protected method

protected TryRegularHttpDownload ( TransferSpec spec, Exception e ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
e System.Exception
return void

TryRegularHttpDownloadAsync() protected method

protected TryRegularHttpDownloadAsync ( TransferSpec spec, Exception e ) : System.Threading.Tasks.Task
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
e System.Exception
return System.Threading.Tasks.Task