读书人

widestream开源软件的http上载的模块调

发布时间: 2012-10-14 14:55:07 作者: rapoo

widestream开源软件的http下载的模块调用流程

widestream_beta5版有一下几个功能模块

Configuration

Core

Downloadmanager

Ftpmanager

Hostmanager

Integration

Logging

Startup

Workspace


下面是软件启动以及一次http下载的模块函数调用流程:

--->WideStream.Startup_Main()

--->WideStream.Workspace_Main()

--->WideStream.DownloadManager.Configuration_DownloadManagerDisplayOptions()

--->WideStream.DownloadManager.Configuratio_NotificationOptions()

--->WideStream.DownloadManager.Configuration_ActiveDownloadsOptions()

--->WideStream.DownloadManager.Configuration_DownloadProcessOptions()

--->WideStream.DownloadManager_DownloadStatistics()

--->WideStream.Core.Runtime_Parallel()

--->WideStream.DownloadManager.FileSystem.Disk_DiskFileSystem()

--->WideStream.DownloadManager.FileSystem.Disk_DiskFileManager()

--->WideStream.Logging_LogHelper(ILoglog)

-à弹出下载管理界面

--->WideStream.DownloadManager.Configuration_DownloadProcessOptions()

--->弹出输入下载链接界面

--->WideStream.Core.Runtime_Parallel()

--->WideStream.DownloadManager.FileSystem.Disk_DiskFileSystem()

--->WideStream.DownloadManager.FileSystem.Disk_DiskFileManager()

--->WideStream.Logging_LogHelper(ILoglog)

---> WideStream.DownloadManager.Network_DownloadTask(IDownloadProcessprocess)

---> WideStream.Core.Runtime_Parallel()

---> WideStream.DownloadManager.Network_DownloadTask(IDownloadProcess process)

--->WideStream.DownloadManager.Network.Protocols.Http_Read(WebHeaderCollectionheaders)

--->WideStream.DownloadManager.FileSystem.Disk_RealFile(FileInfo file, FileStream stream, IVirtualFileSystem fs)

--->WideStream.DownloadManager.Network_DownloadTask(IDownloadProcessprocess)

--->WideStream.Core.Runtime_Parallel()

--->重新下载

---> WideStream.DownloadManager.Network.Protocols.Http_Read(WebHeaderCollection headers)

---> WideStream.DownloadManager.FileSystem.Disk_RealFile(FileInfo file, FileStream stream, IVirtualFileSystem fs)

--->应该还有WideStream.DownloadManager.Network_DownloadTask(IDownloadProcessprocess)

--->WideStream.Core.Runtime_Parallel()的调用,因为此时以去掉这两个的断点,所以没看到调用

--->把程序最小化

--->下载完成,弹出下载完成提示



读书人网 >开源软件

热点推荐