C# Class FileSockClient.DownLoadFileSocketClient

文件下载类
ファイルを表示 Open project: huayancreate/HYPDM Class Usage Examples

Public Methods

Method Description
DownLoadFileSocketClient ( string filepathname, string saveFileToClienPath ) : System

文件下载

DownLoadFileSocketClient ( string filepathname, string saveFileToClienPath, int downLoadServerPort, string downLoadServerIP ) : System

供CAD Client使用

Protected Methods

Method Description
sendFile ( ) : void
startListener ( ) : void

Method Details

DownLoadFileSocketClient() public method

文件下载
public DownLoadFileSocketClient ( string filepathname, string saveFileToClienPath ) : System
filepathname string 需要下载的文件路径(服务器上的路径及文件名称)
saveFileToClienPath string 保存的本地路径及文件名
return System

DownLoadFileSocketClient() public method

供CAD Client使用
public DownLoadFileSocketClient ( string filepathname, string saveFileToClienPath, int downLoadServerPort, string downLoadServerIP ) : System
filepathname string
saveFileToClienPath string
downLoadServerPort int
downLoadServerIP string
return System

sendFile() protected method

protected sendFile ( ) : void
return void

startListener() protected method

protected startListener ( ) : void
return void