public void ToAdmin(Message message, SessionID sessionID)
 {
     _log.WriteInfo("FixClient", "ToAdmin", "");
     if (message is Logon logon)
     {
         logon.Password = new Password(Environment.GetEnvironmentVariable("FIXWrongPassword") ?? Const.Password);
     }
 }
Esempio n. 2
0
 public void ToAdmin(Message message, SessionID sessionID)
 {
     _log.WriteInfo("FixClient", "ToAdmin", "");
     if (message is Logon logon)
     {
         logon.Password = new Password(Const.Password);
     }
 }
Esempio n. 3
0
        public async Task WriteInfo(string component, string process, string context, string info, DateTime?dateTime = null)
        {
            await _consoleLog.WriteInfo(component, process, context, info);

            await _tableLog.WriteInfo(component, process, context, info);
        }