示例#1
0
文件: Daemon.cs 项目: demonGor/Parcs
        private void LoadFile(IChannel channel, IJob curJob)
        {
            string fileName = channel.ReadFile();

            if (!curJob.AddFile(fileName))
            {
                throw new ParcsException("File was not sent");
            }
        }
示例#2
0
        private void LoadFile(IChannel channel, IJob curJob)
        {
            string fileName = channel.ReadFile();

            if (!curJob.AddFile(fileName))
            {
                throw new ParcsException("File was not sent");
            }
        }