|
FIX 4.0 Demo 1.0
|
FIX 会话标识符 More...
#include <application.hpp>

Public Member Functions | |
| SessionID ()=default | |
| 默认构造函数 | |
| SessionID (const std::string &sender, const std::string &target) | |
| 构造会话标识符 | |
| std::string | to_string () const |
| 转换为字符串表示 | |
| bool | operator== (const SessionID &other) const |
| 相等比较 | |
| bool | operator!= (const SessionID &other) const |
| 不等比较 | |
Public Attributes | |
| std::string | senderCompID |
| 发送方标识符 | |
| std::string | targetCompID |
| 接收方标识符 | |
FIX 会话标识符
唯一标识一个 FIX 会话,由发送方和接收方的 CompID 组成。 用于在多会话环境中区分不同的连接。
|
default |
默认构造函数
|
inline |
构造会话标识符
| sender | 发送方 CompID |
| target | 接收方 CompID |
|
inline |
不等比较
|
inline |
相等比较
|
inline |
转换为字符串表示

| std::string fix40::SessionID::senderCompID |
发送方标识符
| std::string fix40::SessionID::targetCompID |
接收方标识符