129 unsigned heartBeatInterval_;
131 bool resetSeqNumbers_;
149 return heartBeatInterval_;
156 return resetSeqNumbers_;
163 return logonMessage_;
170 return *counterparties_;
204 bool resetSessionSequenceNumbers);
213 unsigned heartbeatInterval);
222 const Message & customLogonMessage);
235 unsigned heartbeatInterval,
236 bool resetSessionSequenceNumbers,
#define ONIXS_FIXENGINE_API
#define ONIXS_FIXENGINE_NULLPTR
Encapsulates operations over a FIX Message.
AcceptorConnectionSettings()
Initializes settings for sessions-acceptors.
Counterparty()
Initializes the blank instance.
const Host & host() const
Defines the remote host to which the session must connect to.
Counterparty(const Host &host, Port port)
Identifies a counterparty.
Port port() const
Defines the port number to which the session must connect to.
Counterparty(const Counterparty &other)
Initializes as a clone of another instance.
~Counterparty()
Cleans everything up.
InitiatorConnectionSettings(const Host &host, Port port, unsigned heartbeatInterval, bool resetSessionSequenceNumbers, const Message *customLogonMessage=ONIXS_FIXENGINE_NULLPTR)
Initializes an instance with session-initiator related attributes.
InitiatorConnectionSettings(const Host &host, Port port)
Initializes an instance with session-initiator related attributes.
InitiatorConnectionSettings(const Host &host, Port port, const Message &customLogonMessage)
Initializes an instance with session-initiator related attributes.
InitiatorConnectionSettings(const Host &host, Port port, unsigned heartbeatInterval)
Initializes an instance with session-initiator related attributes.
void addCounterparty(const Host &host, Port port)
Adds one more counterparty for the list of counterparties session should try to connect to.
InitiatorConnectionSettings(const Host &host, Port port, bool resetSessionSequenceNumbers)
Initializes an instance with session-initiator related attributes.
const Counterparties & counterparties() const
The list of all counterparties.
SessionConnectionSettings(SessionRole::Enum role)
Initializes an instance with the given session role.
virtual ~SessionConnectionSettings()
Cleans an instance up.
void setResetSequenceNumbers(bool resetSeqNumbers)
Updates the session reset sequence numbers policy.
void logonMessage(const Message &message)
Assigns the custom logon message.
Counterparties & counterparties()
The editable collection of counterparties.
SessionConnectionSettings(const SessionConnectionSettings &other)
Initializes an instance from another one.
Message * logonMessage() const
If the session must be logged on in the role of an initiator, defines the custom logon message which ...
void heartBeatInterval(unsigned interval)
Updates the heartbeat interval value.
bool setResetSequenceNumbers() const
If the session must be logged on in the role of an initiator, defines whether the 'SetResetSequenceNu...
SessionRole::Enum role() const
Specifies whether the session must be connected as an acceptor or initiator.
unsigned heartBeatInterval() const
If the session must be logged on in the role of an initiator, defines the value for the heartbeat int...
std::string Host
The counterparty host name.
std::vector< Counterparty > Counterparties
The ordered series of counterparties.
unsigned Port
The counterparty socket port.