C# Class SDownload.Framework.Streams.SCSetStream.SetItemReportProxy

Internal progress reporting proxy for handling tracking progress of multiple downloads but only sending one % to the actual view
Inheritance: InfoReportProxy
Show file Open project: brkastner/SDownload

Public Methods

Method Description
Close ( ) : void

Closes the set item being tracked, sets the progress to -1 if being closed before download is complete

SetItemReportProxy ( SCSetStream master, int downloadCount ) : System

Creates a set item proxy

UpdateProgress ( int percentage ) : void

Stores the progress for the track and updates the master progress

Method Details

Close() public method

Closes the set item being tracked, sets the progress to -1 if being closed before download is complete
public Close ( ) : void
return void

SetItemReportProxy() public method

Creates a set item proxy
public SetItemReportProxy ( SCSetStream master, int downloadCount ) : System
master SCSetStream The actual set handler
downloadCount int The total amount of downloads
return System

UpdateProgress() public method

Stores the progress for the track and updates the master progress
public UpdateProgress ( int percentage ) : void
percentage int The percentage complete the track ownlaod is
return void