ApplicationMessageRequestAck.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef FIX50SP1_APPLICATIONMESSAGEREQUESTACK_H
  2. #define FIX50SP1_APPLICATIONMESSAGEREQUESTACK_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class ApplicationMessageRequestAck : public Message
  7. {
  8. public:
  9. ApplicationMessageRequestAck() : Message(MsgType()) {}
  10. ApplicationMessageRequestAck(const FIX::Message& m) : Message(m) {}
  11. ApplicationMessageRequestAck(const Message& m) : Message(m) {}
  12. ApplicationMessageRequestAck(const ApplicationMessageRequestAck& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BX"); }
  14. ApplicationMessageRequestAck(
  15. const FIX::ApplResponseID& aApplResponseID )
  16. : Message(MsgType())
  17. {
  18. set(aApplResponseID);
  19. }
  20. FIELD_SET(*this, FIX::ApplResponseID);
  21. FIELD_SET(*this, FIX::ApplReqID);
  22. FIELD_SET(*this, FIX::ApplReqType);
  23. FIELD_SET(*this, FIX::ApplResponseType);
  24. FIELD_SET(*this, FIX::ApplTotalMessageCount);
  25. FIELD_SET(*this, FIX::NoApplIDs);
  26. class NoApplIDs: public FIX::Group
  27. {
  28. public:
  29. NoApplIDs() : FIX::Group(1351,1355,FIX::message_order(1355,1182,1183,1357,1354,0)) {}
  30. FIELD_SET(*this, FIX::RefApplID);
  31. FIELD_SET(*this, FIX::ApplBegSeqNum);
  32. FIELD_SET(*this, FIX::ApplEndSeqNum);
  33. FIELD_SET(*this, FIX::RefApplLastSeqNum);
  34. FIELD_SET(*this, FIX::ApplResponseError);
  35. };
  36. FIELD_SET(*this, FIX::Text);
  37. FIELD_SET(*this, FIX::EncodedTextLen);
  38. FIELD_SET(*this, FIX::EncodedText);
  39. };
  40. }
  41. #endif