private void Complete() { state = StateType.End; MLog.LogFormat("", "DownloadFile Complete {0}", this); if (completeCallback != null) { HttpDownload.AddLoaded(this); } }
private void Complete() { state = StateType.End; Log.Error(String.Format("DownloadFile Complete {0}", this)); if (completeCallback != null) { HttpDownload.AddLoaded(this); } }
public void AsyncRemove() { state = StateType.None; HttpDownload.Remove(this); }
public void AsyncContinue() { state = StateType.Wait; HttpDownload.Add(this); }
public void AsyncPause() { state = StateType.Pause; HttpDownload.Remove(this); }
public void AsyncLoad() { state = StateType.Wait; HttpDownload.Add(this); }
public LoadSizeThread(HttpDownload httpDownload) { this.httpDownload = httpDownload; }
public LoadThread(HttpDownload httpDownload, int id) { this.id = id; this.httpDownload = httpDownload; }