29 namespace Scheduling {
54 const Host & host()
const;
90 unsigned heartBeatInterval()
const;
95 bool setResetSequenceNumbers()
const;
100 Message * logonMessage()
const;
104 const Counterparties & counterparties()
const;
115 void heartBeatInterval(
unsigned interval);
118 void setResetSequenceNumbers(
bool resetSeqNumbers);
121 void logonMessage(
const Message & message);
124 Counterparties & counterparties();
129 unsigned heartBeatInterval_;
131 bool resetSeqNumbers_;
135 Counterparties * counterparties_;
149 return heartBeatInterval_;
156 return resetSeqNumbers_;
163 return logonMessage_;
167 const Counterparties &
170 return *counterparties_;
195 const Host & host, Port port);
203 const Host & host, Port port,
204 bool resetSessionSequenceNumbers);
212 const Host & host, Port port,
213 unsigned heartbeatInterval);
221 const Host & host, Port port,
222 const Message & customLogonMessage);
235 unsigned heartbeatInterval,
236 bool resetSessionSequenceNumbers,
237 const Message * customLogonMessage = ONIXS_FIXENGINE_NULLPTR);
240 void addCounterparty(
const Host & host, Port port);
The collection of connection-related attributes for the session.
std::string Host
The counterparty host name.
#define ONIXS_FIXENGINE_API
Message * logonMessage() const
If the session must be logged on in the role of an initiator, defines the custom logon message which ...
Session connection settings for session-initiators.
The collection of parameters required to establish a connection with a counterparty (session-acceptor...
unsigned heartBeatInterval() const
If the session must be logged on in the role of an initiator, defines the value for the heartbeat int...
Session connection settings for session-acceptors.
SessionRole::Enum role() const
Specifies whether the session must be connected as an acceptor or initiator.
unsigned Port
The counterparty socket port.
const Counterparties & counterparties() const
The list of all counterparties.
Encapsulates operations over a FIX Message.
bool setResetSequenceNumbers() const
If the session must be logged on in the role of an initiator, defines whether the 'SetResetSequenceNu...
std::vector< Counterparty > Counterparties
The ordered series of counterparties.