Exemple #1
0
        public override void onMessage(QuickFix44.BusinessMessageReject message, SessionID session)
        {
            RefSeqNum            refSeqNum            = message.isSetRefSeqNum() ? message.getRefSeqNum() : new RefSeqNum(-1);
            Text                 text                 = message.getText();
            RefMsgType           refMsgType           = message.getRefMsgType();
            BusinessRejectRefID  businessRejectRefID  = message.isSetBusinessRejectRefID() ? message.getBusinessRejectRefID() : new BusinessRejectRefID("not set");
            BusinessRejectReason businessRejectReason = message.getBusinessRejectReason();

            Console.WriteLine("QuickFix44.BusinessMessageReject: {0}, {1}, {2}, {3}, {4}", refSeqNum, text, refMsgType, businessRejectRefID, businessRejectReason);
        }
Exemple #2
0
 /// <summary>
 /// Converts a BusinessRejectReason to a string.
 /// </summary>
 /// <returns>A BusinessRejectReason value.</returns>
 /// <param name="value">The FIX string representation of a BusinessRejectReason.</param>
 public static string ConvertTo(BusinessRejectReason messageType)
 {
     return((string)BusinessRejectReasonConverter.toTable[messageType]);
 }