Heartbeat.h 456 B

1234567891011121314151617181920212223
  1. #ifndef FIXT11_HEARTBEAT_H
  2. #define FIXT11_HEARTBEAT_H
  3. #include "Message.h"
  4. namespace FIXT11
  5. {
  6. class Heartbeat : public Message
  7. {
  8. public:
  9. Heartbeat() : Message(MsgType()) {}
  10. Heartbeat(const FIX::Message& m) : Message(m) {}
  11. Heartbeat(const Message& m) : Message(m) {}
  12. Heartbeat(const Heartbeat& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("0"); }
  14. FIELD_SET(*this, FIX::TestReqID);
  15. };
  16. }
  17. #endif