/// <summary>
        /// ���ԶԶ˵�Ӧ�ò㱨�ģ���Ҫҵ���߼�����
        /// </summary>
        /// <param name="pMessage"></param>
        /// <param name="pSessionID"></param>
        public void fromApp(QuickFix.Message pMessage, QuickFix.SessionID pSessionID)
        {
            string msgtype = pMessage.getHeader ().getString  (35);

            if (msgtype.StartsWith("Ans"))
            {
                //Console.WriteLine(pMessage.ToString());
                 switch (msgtype)
                {
                     case "Ans003":
                         //string ccy=pMessage .getField (
                     case "Ans002":
                         if (OnError != null)
                         {
                             OnError(pMessage.ToString(), EventArgs.Empty);
                         }
                        break;
                }
            }
            else
            {
                base.crack(pMessage, pSessionID);//����Ĭ�ϴ����������
            }
            pMessage.Dispose();//�����ֳ�����Ҫ
        }
Beispiel #2
0
		public virtual void fromApp(QuickFix.Message message, SessionID sessionID)
		{
			Console.WriteLine(BeAEwTZGlZaeOmY5cm.J00weU3cM6(958) + (object)sessionID + BeAEwTZGlZaeOmY5cm.J00weU3cM6(978) + (string)(object)message + BeAEwTZGlZaeOmY5cm.J00weU3cM6(986));
			this.crack(message, sessionID);
			message.Dispose();
		}
		public override void fromApp(QuickFix.Message message, SessionID sessionID)
		{
			this.crack(message, sessionID);
			message.Dispose();
		}
Beispiel #4
0
		public virtual void fromAdmin(QuickFix.Message message, SessionID sessionID)
		{
			Console.WriteLine(BeAEwTZGlZaeOmY5cm.J00weU3cM6(920) + (object)sessionID + BeAEwTZGlZaeOmY5cm.J00weU3cM6(944) + (string)(object)message + BeAEwTZGlZaeOmY5cm.J00weU3cM6(952));
			message.Dispose();
		}