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

Inheritance: DownloadProtocol
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
Download ( TransferSpec spec ) : void
DownloadAsync ( TransferSpec spec ) : System.Threading.Tasks.Task
ZsyncDownloadProtocol ( IZsyncLauncher zsyncLauncher ) : System

Protected Methods

Method Description
VerifyIfNeeded ( TransferSpec spec, IAbsoluteFilePath localFile ) : void

Private Methods

Method Description
FindStatusCode ( string output ) : int
FixUrl ( Uri uri ) : string
GetParams ( TransferSpec spec ) : ZsyncParams
ProcessExitResult ( ProcessExitResultWithOutput result, TransferSpec spec ) : void

Method Details

Download() public method

public Download ( TransferSpec spec ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
return void

DownloadAsync() public method

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

VerifyIfNeeded() protected method

protected VerifyIfNeeded ( TransferSpec spec, IAbsoluteFilePath localFile ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
localFile IAbsoluteFilePath
return void

ZsyncDownloadProtocol() public method

public ZsyncDownloadProtocol ( IZsyncLauncher zsyncLauncher ) : System
zsyncLauncher IZsyncLauncher
return System