C# 클래스 SDownload.Framework.InfoReportProxy

Provides a base proxy for communicating progress updates to a client.
파일 보기 프로젝트 열기: brkastner/SDownload

보호된 프로퍼티들

프로퍼티 타입 설명
Remote Action

공개 메소드들

메소드 설명
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

메소드 상세

Close() 공개 메소드

Close the connection to the client
public Close ( ) : void
리턴 void

Report() 공개 메소드

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
리턴 void

UpdateProgress() 공개 메소드

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

프로퍼티 상세

Remote 보호되어 있는 프로퍼티

The function to send the updated information
protected Action Remote
리턴 Action