C# Class SDownload.Framework.InfoReportProxy

Provides a base proxy for communicating progress updates to a client.
ファイルを表示 Open project: brkastner/SDownload

Protected Properties

Property Type Description
Remote Action

Public Methods

Method Description
Close ( ) : void

Close the connection to the client

Report ( String info, bool close = false ) : void

Report a string to the remote proxy

UpdateProgress ( int percentage ) : void

Reports the current progress to the remote proxy

Method Details

Close() public method

Close the connection to the client
public Close ( ) : void
return void

Report() public method

Report a string to the remote proxy
public Report ( String info, bool close = false ) : void
info String The information to send
close bool Whether to close the connection afterwards or not
return void

UpdateProgress() public method

Reports the current progress to the remote proxy
public UpdateProgress ( int percentage ) : void
percentage int The percentage completed
return void

Property Details

Remote protected_oe property

The function to send the updated information
protected Action Remote
return Action