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

来源:互联网 发布:单片机蓝牙模块怎么用 编辑:程序博客网 时间:2024/05/18 02:52

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()的调用,因为此时以去掉这两个的断点,所以没看到调用

--->把程序最小化

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



原创粉丝点击