OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
LogonResponse.h
Go to the documentation of this file.
1 // This software is owned by Onix Solutions Limited [OnixS] and is protected
2 // by copyright law and international copyright treaties. All rights reserved.
3 
4 #pragma once
5 
8 #include "OnixS/Eurex/Trading/Export.h"
11 
12 #include <iosfwd>
13 #include <string>
14 
15 namespace OnixS { namespace Eurex { namespace Trading {
16 
17 /// Logon Response Message.
18 class ONIXS_EUREX_ETI_EXPORT LogonResponse : public Message
19 {
20 public:
21  /// Initialize default instance.
22  LogonResponse();
23 
24  /// Throttle time interval in number of milliseconds; applicable for transaction limit.
26 
27  /// Transaction limit per ThrottleTimeInterval (1614).
29 
30  /// Disconnect limit - maximum number of sequential message rejects allowed by the Eurex ETI.
32 
33  /// Heartbeat interval in milliseconds as applied by the gateway.
35 
36  /// Unique ID for the session instance assigned by the Eurex system during session logon.
38 
39  /// Sequence number of current public key.
41 
42  /// Market ID.
44 
45  /// Trading session mode.
47 
48  /// Most recent version number of the ETI gateway software.
49  std::string defaultCstmApplVerId;
50 
51  /// ETI subversion. Identifies ETI changes within one ETI version.
53 
54  /// Public key.
55  std::string publicKey;
56 
57  /// Returns template ID.
58  TemplateId::Enum templateId() const;
59 
60  /// Returns string representation.
61  std::string toString() const;
62 
63 private:
64  friend class Serializer;
65  LogonResponse(const void* data, size_t dataSize, MessageInfo& msgInfo);
66  void nativeSerializeTo(void* nativeMessage);
67 };
68 
69 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const LogonResponse&);
70 
71 }}} // namespace OnixS::Eurex::Trading
SInt64 throttleTimeInterval
Throttle time interval in number of milliseconds; applicable for transaction limit.
Definition: LogonResponse.h:25
UInt32 latestPublicKeySeqNo
Sequence number of current public key.
Definition: LogonResponse.h:40
Logon Response Message.
Definition: LogonResponse.h:18
TradSesMode::Enum tradSesMode
Trading session mode.
Definition: LogonResponse.h:46
std::string publicKey
Public key.
Definition: LogonResponse.h:55
UInt32 throttleDisconnectLimit
Disconnect limit - maximum number of sequential message rejects allowed by the Eurex ETI...
Definition: LogonResponse.h:31
MarketId::Enum marketId
Market ID.
Definition: LogonResponse.h:43
Message base class.
Definition: Message.h:32
UInt32 sessionInstanceId
Unique ID for the session instance assigned by the Eurex system during session logon.
Definition: LogonResponse.h:37
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
UInt32 throttleNoMsgs
Transaction limit per ThrottleTimeInterval (1614).
Definition: LogonResponse.h:28
UInt32 heartBtInt
Heartbeat interval in milliseconds as applied by the gateway.
Definition: LogonResponse.h:34
std::string defaultCstmApplVerSubId
ETI subversion. Identifies ETI changes within one ETI version.
Definition: LogonResponse.h:52
std::string defaultCstmApplVerId
Most recent version number of the ETI gateway software.
Definition: LogonResponse.h:49