Beispiel #1
0
 public void FromApp(QuickFix.Message message, SessionID sessionID)
 {
     Console.ForegroundColor = respColor;
     Console.WriteLine(message.ToString(true));
     Console.ForegroundColor = defColor;
     isRejectMessage         = message.IsReject();
     WaitResponseResetEvent.Set();
 }
Beispiel #2
0
 public void FromAdmin(QuickFix.Message message, SessionID sessionID)
 {
     isRejectMessage         = message.IsReject();
     Console.ForegroundColor = isRejectMessage ? ConsoleColor.DarkRed : adminRespColor;
     Console.WriteLine($"FromAdmin {message.ToString(isRejectMessage || ViewAdminMessages)}");
     Console.ForegroundColor = defColor;
     if (isRejectMessage)
     {
         WaitResponseResetEvent.Set();
     }
 }