OnixS C++ FIX Engine  4.12.0
API Documentation
InitiatorConnectionSettings Class Reference

#include <OnixS/FIXEngine/FIX/Scheduling/SessionConnectionSettings.h>

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 ( 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 ( 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 ( 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 ( 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 ( 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

void addCounterparty ( const Host host,
Port  port 
)

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


The documentation for this class was generated from the following file: