1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef FIX40_LOGON_H
- #define FIX40_LOGON_H
- #include "Message.h"
- namespace FIX40
- {
- class Logon : public Message
- {
- public:
- Logon() : Message(MsgType()) {}
- Logon(const FIX::Message& m) : Message(m) {}
- Logon(const Message& m) : Message(m) {}
- Logon(const Logon& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("A"); }
- Logon(
- const FIX::EncryptMethod& aEncryptMethod,
- const FIX::HeartBtInt& aHeartBtInt )
- : Message(MsgType())
- {
- set(aEncryptMethod);
- set(aHeartBtInt);
- }
- FIELD_SET(*this, FIX::EncryptMethod);
- FIELD_SET(*this, FIX::HeartBtInt);
- FIELD_SET(*this, FIX::RawDataLength);
- FIELD_SET(*this, FIX::RawData);
- };
- }
- #endif
|