C# Class Fun.FunapiHttpDownloader

Show file Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Public Methods

Method Description
ContinueDownload ( ) : void
FunapiHttpDownloader ( ) : System
GetDownloadList ( string hostname_or_ip, UInt16 port, bool https, string target_path ) : void
GetDownloadList ( string url, string target_path ) : void
StartDownload ( ) : void
Stop ( ) : void

Private Methods

Method Description
AsyncDownloadFile ( ) : IEnumerator
CheckFileList ( List list ) : IEnumerator
DeleteLocalFiles ( ) : void
DownloadDataCompleteCb ( object sender, DownloadDataCompletedEventArgs ar ) : void
DownloadFileCompleteCb ( object sender, System ar ) : void
DownloadListFile ( string url ) : void
DownloadProgressChangedCb ( object sender, DownloadProgressChangedEventArgs ar ) : void
DownloadResourceFile ( ) : void
LoadCachedList ( ) : void
OnFinishedCallback ( DownloadResult code ) : void
RemoveCachedList ( List remove_list ) : void
UpdateCachedList ( ) : void

Method Details

ContinueDownload() public method

public ContinueDownload ( ) : void
return void

FunapiHttpDownloader() public method

public FunapiHttpDownloader ( ) : System
return System

GetDownloadList() public method

public GetDownloadList ( string hostname_or_ip, UInt16 port, bool https, string target_path ) : void
hostname_or_ip string
port System.UInt16
https bool
target_path string
return void

GetDownloadList() public method

public GetDownloadList ( string url, string target_path ) : void
url string
target_path string
return void

StartDownload() public method

public StartDownload ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void