OnixS C++ FIX Engine  4.2.0
API Documentation
SessionConnectionSettings Class Reference

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

Public Member Functions

 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)
 

Protected Member Functions

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

Detailed Description

Definition at line 73 of file SessionConnectionSettings.h.

Constructor & Destructor Documentation

Initializes instance from the other one.

virtual ~SessionConnectionSettings ( )
virtual

Cleans instance up.

Initializes instance with given session role.

Member Function Documentation

const Counterparties & counterparties ( ) const
inline

List of all counterparties.

Not used if session must be logged on as acceptor.

Definition at line 168 of file SessionConnectionSettings.h.

Counterparties& counterparties ( )
protected

Editable collection of counterparties.

unsigned heartBeatInterval ( ) const
inline

If session must be logged on in role of initiator, defines value for heartbeat interval in seconds.

Otherwise has undefined value.

Definition at line 147 of file SessionConnectionSettings.h.

void heartBeatInterval ( unsigned  interval)
protected

Updates heartbeat interval value.

Message * logonMessage ( ) const
inline

If session must be logged on in role of initiator, defines custom logon message which must be sent at logon.

Otherwise returns NULL value.

Definition at line 161 of file SessionConnectionSettings.h.

void logonMessage ( const Message message)
protected

Assigns custom logon message.

Copies all settings from the other instance.

SessionRole::Enum role ( ) const
inline

Specifies whether session must be connected as acceptor or initiator.

Definition at line 140 of file SessionConnectionSettings.h.

bool setResetSequenceNumbers ( ) const
inline

If session must be logged on in role of initiator, defines whether 'SetResetSequenceNumbers' flag must be sent within logon message.

Otherwise has undefined value.

Definition at line 154 of file SessionConnectionSettings.h.

void setResetSequenceNumbers ( bool  resetSeqNumbers)
protected

Updates session reset seq. numbers policy.


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