TradingSessionStatusRequest.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef FIX44_TRADINGSESSIONSTATUSREQUEST_H
  2. #define FIX44_TRADINGSESSIONSTATUSREQUEST_H
  3. #include "Message.h"
  4. namespace FIX44
  5. {
  6. class TradingSessionStatusRequest : public Message
  7. {
  8. public:
  9. TradingSessionStatusRequest() : Message(MsgType()) {}
  10. TradingSessionStatusRequest(const FIX::Message& m) : Message(m) {}
  11. TradingSessionStatusRequest(const Message& m) : Message(m) {}
  12. TradingSessionStatusRequest(const TradingSessionStatusRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("g"); }
  14. TradingSessionStatusRequest(
  15. const FIX::TradSesReqID& aTradSesReqID,
  16. const FIX::SubscriptionRequestType& aSubscriptionRequestType )
  17. : Message(MsgType())
  18. {
  19. set(aTradSesReqID);
  20. set(aSubscriptionRequestType);
  21. }
  22. FIELD_SET(*this, FIX::TradSesReqID);
  23. FIELD_SET(*this, FIX::TradingSessionID);
  24. FIELD_SET(*this, FIX::TradingSessionSubID);
  25. FIELD_SET(*this, FIX::TradSesMethod);
  26. FIELD_SET(*this, FIX::TradSesMode);
  27. FIELD_SET(*this, FIX::SubscriptionRequestType);
  28. };
  29. }
  30. #endif