OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
InitiatorConnectionSettings Class Reference

Public Member Functions

 InitiatorConnectionSettings (const Host &host, Port port)
 InitiatorConnectionSettings (const Host &host, Port port, bool resetSessionSequenceNumbers)
 InitiatorConnectionSettings (const Host &host, Port port, unsigned heartbeatInterval)
 InitiatorConnectionSettings (const Host &host, Port port, const Message &customLogonMessage)
 InitiatorConnectionSettings (const Host &host, Port port, unsigned heartbeatInterval, bool resetSessionSequenceNumbers, const Message *customLogonMessage=ONIXS_FIXENGINE_NULLPTR)
void addCounterparty (const Host &host, Port port)
Public Member Functions inherited from SessionConnectionSettings
 SessionConnectionSettings (const SessionConnectionSettings &other)
virtual ~SessionConnectionSettings ()
SessionRole::Enum role () const
unsigned heartBeatInterval () const
bool setResetSequenceNumbers () const
MessagelogonMessage () const
const Counterpartiescounterparties () const
SessionConnectionSettingsoperator= (const SessionConnectionSettings &other)

Additional Inherited Members

Protected Member Functions inherited from SessionConnectionSettings
 SessionConnectionSettings (SessionRole::Enum role)
void heartBeatInterval (unsigned interval)
void setResetSequenceNumbers (bool resetSeqNumbers)
void logonMessage (const Message &message)
Counterpartiescounterparties ()

Detailed Description

Definition at line 185 of file SessionConnectionSettings.h.

Constructor & Destructor Documentation

◆ InitiatorConnectionSettings() [1/5]

InitiatorConnectionSettings ( const Host & host,
Port port )

Initializes an instance with session-initiator related attributes.

Parameters
hostDefines the remote host to which the session must connect to.
portDefines the port number to which the session must connect to.

◆ InitiatorConnectionSettings() [2/5]

InitiatorConnectionSettings ( const Host & host,
Port port,
bool resetSessionSequenceNumbers )

Initializes an instance with session-initiator related attributes.

Parameters
hostDefines the remote host to which the session must connect to.
portDefines the port number to which the session must connect to.
resetSessionSequenceNumbersDefines whether the 'SetResetSequenceNumbers' flag must be sent within the logon message.

◆ InitiatorConnectionSettings() [3/5]

InitiatorConnectionSettings ( const Host & host,
Port port,
unsigned heartbeatInterval )

Initializes an instance with session-initiator related attributes.

Parameters
hostDefines the remote host to which the session must connect to.
portDefines the port number to which the session must connect to.
heartbeatIntervalDefines the time interval between heartbeats messages.

◆ InitiatorConnectionSettings() [4/5]

InitiatorConnectionSettings ( const Host & host,
Port port,
const Message & customLogonMessage )

Initializes an instance with session-initiator related attributes.

Parameters
hostDefines the remote host to which the session must connect to.
portDefines the port number to which the session must connect to.
customLogonMessageDefines the custom logon message which should be used at the logon.

◆ InitiatorConnectionSettings() [5/5]

InitiatorConnectionSettings ( const Host & host,
Port port,
unsigned heartbeatInterval,
bool resetSessionSequenceNumbers,
const Message * customLogonMessage = ONIXS_FIXENGINE_NULLPTR )

Initializes an instance with session-initiator related attributes.

Parameters
hostDefines the remote host to which the session must connect to.
portDefines the port number to which the session must connect to.
heartbeatIntervalDefines the time interval between heartbeats
resetSessionSequenceNumbersDefines whether the 'SetResetSequenceNumbers' flag must be sent within the logon message.
customLogonMessageOptionally defines the custom logon message which should be used at the logon.

Member Function Documentation

◆ addCounterparty()

void addCounterparty ( const Host & host,
Port port )

Adds one more counterparty for the list of counterparties session should try to connect to.