示例#1
0
文件: Storage.cs 项目: xyuan/Naiad
            public override void OnNotify(TTime time)
            {
                WriterStreamSequence <TWriter> writer = writers[time];

                writers.Remove(time);

                // close the sequence writer
                writer.Close();

                var output = this.Output.GetBufferForTime(time);

                foreach (Uri fileName in writer.Filenames)
                {
                    // emit the filename of each file written by this writer
                    output.Send(fileName);
                }
            }