Class SessionConnectionSettings
Collection of connection-related attributes for the session.
Inherited Members
Namespace: OnixS.Fix.Scheduling
Assembly: OnixS.Fix.Engine.dll
Syntax
public abstract class SessionConnectionSettings
Constructors
SessionConnectionSettings(SessionRole, int, bool, IMessage)
Initializes instance with given set of attributes.
Declaration
protected SessionConnectionSettings(SessionRole role, int heartbeatInterval, bool setResetSequenceNumbers, IMessage customLogonMessage)
Parameters
Type | Name | Description |
---|---|---|
SessionRole | role | Defines whether session must be connected as acceptor or initiator. |
int | heartbeatInterval | Defines time interval between heartbeat messages in case of initiator. |
bool | setResetSequenceNumbers | Defines whether 'SetResetSequenceNumbers' flag must be sent within logon message in case of initiator. |
IMessage | customLogonMessage | Defines custom logon message which should be used at logon in case of initiator. |
SessionConnectionSettings(SessionRole, int, bool, string)
Initializes instance with given set of attributes.
Declaration
protected SessionConnectionSettings(SessionRole role, int heartbeatInterval, bool setResetSequenceNumbers, string customLogonMessage)
Parameters
Type | Name | Description |
---|---|---|
SessionRole | role | Defines whether session must be connected as acceptor or initiator. |
int | heartbeatInterval | Defines time interval between heartbeat messages in case of initiator. |
bool | setResetSequenceNumbers | Defines whether 'SetResetSequenceNumbers' flag must be sent within logon message in case of initiator. |
string | customLogonMessage | Defines custom logon message which should be used at logon in case of initiator. |
Properties
CustomLogonMessage
If session must be logged on in role of initiator, defines custom logon message which must be sent at logon. Otherwise has null value.
Declaration
public IMessage CustomLogonMessage { get; }
Property Value
Type | Description |
---|---|
IMessage |
CustomLogonString
If session must be logged on in role of initiator, defines custom logon message which must be sent at logon. Otherwise has null value.
Declaration
public string CustomLogonString { get; }
Property Value
Type | Description |
---|---|
string |
HeartbeatInterval
If session must be logged on in role of initiator, defines value for heartbeat interval in seconds. Otherwise has undefined value.
Declaration
public int HeartbeatInterval { get; }
Property Value
Type | Description |
---|---|
int |
Role
Specifies whether session must be connected as acceptor or initiator.
Declaration
public SessionRole Role { get; }
Property Value
Type | Description |
---|---|
SessionRole |
SetResetSequenceNumbers
If session must be logged on in role of initiator, defines whether 'SetResetSequenceNumbers' flag must be sent within logon message. Otherwise has undefined value.
Declaration
public bool SetResetSequenceNumbers { get; }
Property Value
Type | Description |
---|---|
bool |