Skip to content
Permalink
Browse files

重构线程任务模块

  • Loading branch information...
AriaLyy committed May 31, 2019
1 parent 39a43c8 commit d3fb30d8b9620fa89392f0f3d9213d579b0c0088
Showing with 3,337 additions and 4,088 deletions.
  1. +0 −81 AppFrame/src/main/java/com/arialyy/frame/cache/CacheHelp.java
  2. +0 −56 AppFrame/src/main/java/com/arialyy/frame/cache/CacheObj.java
  3. +0 −951 AppFrame/src/main/java/com/arialyy/frame/cache/diskcache/DiskLruCache.java
  4. +0 −77 AppFrame/src/main/java/com/arialyy/frame/cache/diskcache/DiskLruCacheUtil.java
  5. +0 −194 AppFrame/src/main/java/com/arialyy/frame/cache/diskcache/StrictLineReader.java
  6. +4 −3 Aria/src/main/java/com/arialyy/aria/core/AriaManager.java
  7. +47 −504 Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java
  8. +131 −235 Aria/src/main/java/com/arialyy/aria/core/common/AbsThreadTask.java
  9. +43 −5 Aria/src/main/java/com/arialyy/aria/core/common/BaseListener.java
  10. +6 −0 Aria/src/main/java/com/arialyy/aria/core/common/CompleteInfo.java
  11. +67 −0 Aria/src/main/java/com/arialyy/aria/core/common/IThreadState.java
  12. +190 −0 Aria/src/main/java/com/arialyy/aria/core/common/NormalFileer.java
  13. +1 −1 Aria/src/main/java/com/arialyy/aria/core/common/OnFileInfoCallback.java
  14. +419 −0 Aria/src/main/java/com/arialyy/aria/core/common/RecordHandler.java
  15. +0 −82 Aria/src/main/java/com/arialyy/aria/core/common/StateConstance.java
  16. +14 −15 Aria/src/main/java/com/arialyy/aria/core/common/SubThreadConfig.java
  17. +8 −0 Aria/src/main/java/com/arialyy/aria/core/common/TaskRecord.java
  18. +11 −0 Aria/src/main/java/com/arialyy/aria/core/common/ThreadRecord.java
  19. +223 −0 Aria/src/main/java/com/arialyy/aria/core/common/ThreadStateManager.java
  20. +0 −4 Aria/src/main/java/com/arialyy/aria/core/common/ftp/AbsFtpInfoThread.java
  21. +4 −7 Aria/src/main/java/com/arialyy/aria/core/common/ftp/AbsFtpThreadTask.java
  22. +0 −88 Aria/src/main/java/com/arialyy/aria/core/common/ftp/FtpTaskDelegate.java
  23. +0 −144 Aria/src/main/java/com/arialyy/aria/core/common/http/HttpHeaderDelegate.java
  24. +3 −0 Aria/src/main/java/com/arialyy/aria/core/common/http/HttpTaskConfig.java
  25. +0 −199 Aria/src/main/java/com/arialyy/aria/core/common/http/HttpTaskDelegate.java
  26. +0 −159 Aria/src/main/java/com/arialyy/aria/core/download/AbsGroupDelegate.java
  27. +11 −25 Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java
  28. +13 −6 Aria/src/main/java/com/arialyy/aria/core/download/DNormalConfigHandler.java
  29. +0 −201 Aria/src/main/java/com/arialyy/aria/core/download/DNormalDelegate.java
  30. +10 −0 Aria/src/main/java/com/arialyy/aria/core/download/DTaskWrapper.java
  31. +32 −25 Aria/src/main/java/com/arialyy/aria/core/download/DownloadGroupListener.java
  32. +6 −0 Aria/src/main/java/com/arialyy/aria/core/download/DownloadTarget.java
  33. +17 −8 Aria/src/main/java/com/arialyy/aria/core/download/DownloadTask.java
  34. +0 −91 Aria/src/main/java/com/arialyy/aria/core/download/FtpDirDelegate.java
  35. +0 −247 Aria/src/main/java/com/arialyy/aria/core/download/HttpGroupDelegate.java
  36. +6 −5 Aria/src/main/java/com/arialyy/aria/core/download/downloader/ConnectionHelp.java
  37. +9 −25 Aria/src/main/java/com/arialyy/aria/core/download/downloader/Downloader.java
  38. +22 −49 Aria/src/main/java/com/arialyy/aria/core/download/downloader/FtpThreadTask.java
  39. +15 −6 Aria/src/main/java/com/arialyy/aria/core/download/downloader/HttpFileInfoThread.java
  40. +26 −59 Aria/src/main/java/com/arialyy/aria/core/download/downloader/HttpThreadTask.java
  41. +12 −19 Aria/src/main/java/com/arialyy/aria/core/download/downloader/SimpleDownloadUtil.java
  42. +5 −2 Aria/src/main/java/com/arialyy/aria/core/download/group/DownloadGroupUtil.java
  43. +4 −2 Aria/src/main/java/com/arialyy/aria/core/download/group/FtpDirDownloadUtil.java
  44. +32 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/IM3U8UrlExtInfHandler.java
  45. +31 −24 .../main/java/com/arialyy/aria/core/{inf/ITargetHeadDelegate.java → download/m3u8/LiveProtocol.java}
  46. +58 −4 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8Delegate.java
  47. +158 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8FileInfoThread.java
  48. +325 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8FileLoader.java
  49. +136 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8FileUtil.java
  50. +17 −5 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8LiveDelegate.java
  51. +63 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8TaskConfig.java
  52. +140 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8ThreadStateManager.java
  53. +247 −0 Aria/src/main/java/com/arialyy/aria/core/download/m3u8/M3U8ThreadTask.java
  54. +0 −58 Aria/src/main/java/com/arialyy/aria/core/inf/IGroupTarget.java
  55. +0 −66 Aria/src/main/java/com/arialyy/aria/core/inf/INormalTarget.java
  56. +2 −2 Aria/src/main/java/com/arialyy/aria/core/manager/DTaskWrapperFactory.java
  57. +11 −20 Aria/src/main/java/com/arialyy/aria/core/upload/BaseUListener.java
  58. +0 −155 Aria/src/main/java/com/arialyy/aria/core/upload/UNormalDelegate.java
  59. +4 −1 Aria/src/main/java/com/arialyy/aria/core/upload/uploader/FtpFileInfoThread.java
  60. +12 −28 Aria/src/main/java/com/arialyy/aria/core/upload/uploader/FtpThreadTask.java
  61. +5 −9 Aria/src/main/java/com/arialyy/aria/core/upload/uploader/HttpThreadTask.java
  62. +14 −12 Aria/src/main/java/com/arialyy/aria/core/upload/uploader/SimpleUploadUtil.java
  63. +4 −12 Aria/src/main/java/com/arialyy/aria/core/upload/uploader/Uploader.java
  64. +28 −0 Aria/src/main/java/com/arialyy/aria/exception/M3U8Exception.java
  65. +1 −1 Aria/src/main/java/com/arialyy/aria/orm/DBConfig.java
  66. +42 −21 Aria/src/main/java/com/arialyy/aria/util/CommonUtil.java
  67. +79 −0 Aria/src/main/java/com/arialyy/aria/util/IdGenerator.java
  68. +1 −0 DEV_LOG.md
  69. +2 −2 app/build.gradle
  70. +2 −1 app/src/main/AndroidManifest.xml
  71. +35 −12 app/src/main/java/com/arialyy/simple/MainActivity.java
  72. +28 −47 app/src/main/java/com/arialyy/simple/core/download/DownloadActivity.java
  73. +3 −1 app/src/main/java/com/arialyy/simple/core/download/SingleTaskActivity.java
  74. +268 −0 app/src/main/java/com/arialyy/simple/core/download/m3u8/M3U8DownloadActivity.java
  75. +95 −0 app/src/main/java/com/arialyy/simple/core/download/m3u8/M3U8Module.java
  76. +20 −32 app/src/main/java/com/arialyy/simple/modlue/CommonModule.java
  77. +33 −0 app/src/main/res/drawable/ic_ts.xml
  78. +80 −0 app/src/main/res/layout/activity_m3u8.xml
  79. +2 −0 app/src/main/res/values/strings.xml

This file was deleted.

This file was deleted.

0 comments on commit d3fb30d

Please sign in to comment.
You can’t perform that action at this time.