示例#1
0
        public ReplayManager(string path)
        {
            var infoFile = System.IO.Path.Combine(path, "info.xml");

            _info = ReplayInfo.ReadFromFile(infoFile);
            _in   =
                new NetworkMessageReplay(_info.InBinName,
                                         new AppMessageTypeInfo("replay.in", 1));
            _out =
                new NetworkMessageReplay(_info.OutBinName,
                                         new AppMessageTypeInfo("replay.out", 1));
        }
示例#2
0
 public NetworkMessageReplayThread(string name, INetworkMessageReplay replay) : base(name)
 {
     _replay = replay;
 }