C# Class SDownload.Framework.InfoReportProxy

Provides a base proxy for communicating progress updates to a client.
Afficher le fichier Open project: brkastner/SDownload

Protected Properties

Свойство Type Description
Remote Action

Méthodes publiques

Méthode 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 méthode

Close the connection to the client
public Close ( ) : void
Résultat void

Report() public méthode

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
Résultat void

UpdateProgress() public méthode

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

Property Details

Remote protected_oe property

The function to send the updated information
protected Action Remote
Résultat Action