public override void Run(ModelLoaderInterface loader) { Factory.SysLog.Reconfigure("FIXRealTimePlayBack", GetDefaultLogConfig()); Config = "WarehouseTest.config"; var provider = "MBTFIXProvider/Simulate"; AddProvider(provider); SetupProviderServiceConfig(provider, (ushort)Port); try { fixServer = (FIXSimulator)Factory.FactoryLoader.Load(typeof(FIXSimulator), "MBTFIXProvider", "PlayBack"); base.Run(loader); } finally { if (fixServer != null) { fixServer.Dispose(); } } }
public override void TearDown() { fixServer.Dispose(); base.TearDown(); }