#include <OnixS/FIXEngine/FIX/Scheduling/SessionConnectionSettings.h>
|
| | 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=nullptr) |
| void | addCounterparty (const Host &host, Port port) |
| | SessionConnectionSettings (const SessionConnectionSettings &other) |
| virtual | ~SessionConnectionSettings () |
| SessionRole::Enum | role () const |
| unsigned | heartBeatInterval () const |
| bool | setResetSequenceNumbers () const |
| Message * | logonMessage () const |
| const Counterparties & | counterparties () const |
| SessionConnectionSettings & | operator= (const SessionConnectionSettings &other) |
◆ InitiatorConnectionSettings() [1/5]
| InitiatorConnectionSettings |
( |
const Host & | host, |
|
|
Port | port ) |
Initializes an instance with session-initiator related attributes.
- Parameters
-
| host | Defines the remote host to which the session must connect to. |
| port | Defines 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
-
| host | Defines the remote host to which the session must connect to. |
| port | Defines the port number to which the session must connect to. |
| resetSessionSequenceNumbers | Defines 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
-
| host | Defines the remote host to which the session must connect to. |
| port | Defines the port number to which the session must connect to. |
| heartbeatInterval | Defines 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
-
| host | Defines the remote host to which the session must connect to. |
| port | Defines the port number to which the session must connect to. |
| customLogonMessage | Defines 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 = nullptr ) |
Initializes an instance with session-initiator related attributes.
- Parameters
-
| host | Defines the remote host to which the session must connect to. |
| port | Defines the port number to which the session must connect to. |
| heartbeatInterval | Defines the time interval between heartbeats |
| resetSessionSequenceNumbers | Defines whether the 'SetResetSequenceNumbers' flag must be sent within the logon message. |
| customLogonMessage | Optionally defines the custom logon message which should be used at the logon. |
◆ addCounterparty()
| void addCounterparty |
( |
const Host & | host, |
|
|
Port | port ) |
Adds one more counterparty for the list of counterparties session should try to connect to.