Class EngineSettings
The FIX Engine configuration settings.
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public class EngineSettings
Constructors
EngineSettings()
The constructor.
Declaration
public EngineSettings()
Fields
KeepAllRelevantMessages
Keep all relevant sent messages available for resending in reply to the counterparty's Resend Request (MsgType=2) message.
Declaration
public const int KeepAllRelevantMessages = 2147483647
Field Value
| Type | Description |
|---|---|
| int |
Properties
Dictionary
Path(s) to XML file(s) with the description of FIX dictionary(s). Symbol '|' is used as a filename delimiter.
Declaration
public string Dictionary { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DictionaryString
Specifies the plain text string with the Dictionary description.
Declaration
public string DictionaryString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisableNetworkLevel
Disable the network level completely.
The default value is DisableNetworkLevel. The property key is DisableNetworkLevel.
Declaration
public bool DisableNetworkLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Disable the network level completely |
FileBasedStorageSegmentSize
Maximum size of a single .summary file in bytes.
The default value is FileBasedStorageSegmentSize. The property key is FileBasedStorageSegmentSize.
Declaration
public long FileBasedStorageSegmentSize { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
GlobalSessionSettings
Global session settings.
Declaration
public SessionSettings GlobalSessionSettings { get; }
Property Value
| Type | Description |
|---|---|
| SessionSettings |
HeartbeatInterval
The default heartbeat interval in seconds.
The default value is HeartbeatInterval. The property key is HeartbeatInterval.
Declaration
public int HeartbeatInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The default heartbeat interval in seconds |
IgnoreFileBasedStorageIntegrityErrors
Ignore File Bases Storage integrity errors.
The default value is IgnoreFileBasedStorageIntegrityErrors. The property key is IgnoreFileBasedStorageIntegrityErrors.
Declaration
public bool IgnoreFileBasedStorageIntegrityErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Ignore File Bases Storage integrity errors |
LicenseAlertingDaysBeforeExpiration
The number of days to alert before the license expiration.
If the number of remaining license days is less or equal to this number then the warning will be reported to the FIX Engine's log and Warning event will be invoked. The verification is performed during the following events: FIX Engine initialization, LogonAsAcceptor() and LogonAsInitiator(string, int, int, bool, IMessage, bool) calls.
The default value is LicenseAlertingDaysBeforeExpiration. The property key is LicenseAlertingDaysBeforeExpiration.
Declaration
public int LicenseAlertingDaysBeforeExpiration { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The number of days to alert before the license expiration. |
LicenseStore
The path(s) to the folder(s) that contains the license file(s). The symbol '|' is used as a path delimiter.
The default value is LicenseStore. The property key is LicenseStore.
Declaration
public string LicenseStore { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LicenseStores
Paths to folders that contain license files.
The default value is LicenseStore. The property key is LicenseStore.
Declaration
public List<string> LicenseStores { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
LicenseString
The string that contains the license file content.
The default value is LicenseString. The property key is LicenseString.
Declaration
public string LicenseString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ListenPorts
Listen port(s) for incoming FIX connections.
The default value is ListenPorts. The property key is ListenPorts.
Declaration
public List<int> ListenPorts { get; }
Property Value
| Type | Description |
|---|---|
| List<int> | Listen port(s) |
LocalNetworkInterface
The network interface.
The default value is LocalNetworkInterface The property key is LocalNetworkInterface.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LocalNetworkInterface instead.")]
public IPAddress LocalNetworkInterface { get; set; }
Property Value
| Type | Description |
|---|---|
| IPAddress | The network interface |
Remarks
This property is obsolete and is kept for backward compatibility. Use LocalNetworkInterface in GlobalSessionSettings instead.
See Also
LocalTimeUsage
Use the local time in FIX Engine events and log files.
The default value is LocalTimeUsage. The property key is LocalTimeUsage.
Declaration
public bool LocalTimeUsage { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Use the local time in FIX Engine events and log files |
LogBeforeSending
Option to switch on/off logging of outbound messages before/after sending.
By default, the logging of an outgoing message to the session storage is performed before sending to the wire. This is more reliable because we guarantee that an outgoing message is stored before going to the counterparty and if the application is shut down after sending, for some reasons, the sent message can be resent afterward.
However, this approach adds the logging latency to the FIX Engine sending latency. As a result, it increases the tick-to-trade latency. When the latency is more important, one can switch off the logging before sending, by setting the OnixS::FIX::Session::logBeforeSending option to false. In this case, the logging of outgoing messages to the session storage will be performed after sending to the wire. This way, one can exclude the logging latency from the FIX Engine sending latency and as a result, decrease the tick-to-trade latency.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogBeforeSending instead.")]
public bool LogBeforeSending { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogBeforeSending in GlobalSessionSettings instead.
LogInboundMessages
Log incoming messages.
The default value is LogInboundMessages. The property key is LogInboundMessages.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogInboundMessages instead.")]
public bool LogInboundMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Store incoming messages in the session storage |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogInboundMessages in GlobalSessionSettings instead.
LogOutboundMessages
Log outgoing messages.
The default value is LogOutboundMessages. The property key is LogOutboundMessages.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogOutboundMessages instead.")]
public bool LogOutboundMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Store outbound messages in the session storage |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogOutboundMessages in GlobalSessionSettings instead.
LogResentMessages
Log re-sent messages.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogResentMessages instead.")]
public bool LogResentMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Store re-sent messages in the session storage |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogResentMessages in GlobalSessionSettings instead.
LoggerFactory
The custom logger factory.
Declaration
public ILoggerFactory LoggerFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| ILoggerFactory |
LoggerProvider
The custom logger provider, ignored if LoggerFactory not null.
Declaration
public ILoggerProvider LoggerProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| ILoggerProvider |
LogonTimeout
Number of seconds to wait for a logon response before disconnecting.
The default value is LogonTimeout. The property key is LogonTimeout.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogonTimeout instead.")]
public int LogonTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The default heartbeat interval in seconds |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogonTimeout in GlobalSessionSettings instead.
LogoutTimeout
Number of seconds to wait for a logout response before disconnecting.
The default value is LogoutTimeout. The property key is LogoutTimeout.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.LogoutTimeout instead.")]
public int LogoutTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The default heartbeat interval in seconds |
Remarks
This property is obsolete and is kept for backward compatibility. Use LogoutTimeout in GlobalSessionSettings instead.
MessageGrouping
Message sending grouping.
The default value is MessageGrouping. The property key is MessageGrouping.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.MessageGrouping instead.")]
public int MessageGrouping { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Value |
Remarks
This property is obsolete and is kept for backward compatibility. Use MessageGrouping in GlobalSessionSettings instead.
ProcessDeliverToCompId
Process the DeliverToCompID, tag=128 field.
The default value is ProcessDeliverToCompId. The property key is ProcessDeliverToCompId.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ProcessDeliverToCompId instead.")]
public bool ProcessDeliverToCompId { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Process the DeliverToCompID, tag=128 field |
Remarks
This property is obsolete and is kept for backward compatibility. Use ProcessDeliverToCompId in GlobalSessionSettings instead.
ReasonableTransmissionTime
Reasonable transmission time as % from the heartbeat interval.
The default value is ReasonableTransmissionTime. The property key is ReasonableTransmissionTime.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ReasonableTransmissionTime instead.")]
public int ReasonableTransmissionTime { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Reasonable transmission time as % from the heartbeat interval |
Remarks
This property is obsolete and is kept for backward compatibility. Use ReasonableTransmissionTime in GlobalSessionSettings instead.
ReceiveBufferSize
TCP socket receive buffer size allocated to FIX connection, in bytes.
The default value is ReceiveBufferSize. The property key is ReceiveBufferSize.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ReceiveBufferSize instead.")]
public int ReceiveBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | TCP socket receive buffer size in bytes |
Remarks
This property is obsolete and is kept for backward compatibility. Use ReceiveBufferSize in GlobalSessionSettings instead.
ReceiveSpinningTimeout
The non-blocking receive spinning timeout (in microseconds) before the receiving thread enters into the blocking wait mode.
Should not be greater than 1 sec. (the minimal HeartbeatInterval interval).
The default value is ReceiveSpinningTimeout. The property key is ReceiveSpinningTimeout.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ReceiveSpinningTimeout instead.")]
public int ReceiveSpinningTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Receive spinning timeout (in microseconds) |
Remarks
This property is obsolete and is kept for backward compatibility. Use ReceiveSpinningTimeout in GlobalSessionSettings instead.
ReconnectAttempts
Number of attempts to restore the FIX connection.
The default value is ReconnectAttempts. The property key is ReconnectAttempts.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ReconnectAttempts instead.")]
public int ReconnectAttempts { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Number of attempts to restore the FIX connection |
Remarks
This property is obsolete and is kept for backward compatibility. Use ReconnectAttempts in GlobalSessionSettings instead.
ReconnectInterval
Time interval between attempts to restore the FIX connection (in seconds).
The default value is ReconnectInterval. The property key is ReconnectInterval.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ReconnectInterval instead.")]
public int ReconnectInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Time interval between attempts to restore the FIX connection (in seconds) |
Remarks
This property is obsolete and is kept for backward compatibility. Use ReconnectInterval in GlobalSessionSettings instead.
ResendRequestMaximumRange
The maximum number of messages to be requested in one Resend Request (MsgType=2) message.
The default value is ResendRequestMaximumRange. The property key is ResendRequestMaximumRange.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ResendRequestMaximumRange instead.")]
public int ResendRequestMaximumRange { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The maximum number of messages to be requested in one Resend Request (MsgType=2) message or ResendRequestMaximumRangeNoLimit for no limit |
Remarks
This property is obsolete and is kept for backward compatibility. Use ResendRequestMaximumRange in GlobalSessionSettings instead.
See Also
ResendingBatchSize
The maximum number of messages sent in reply to the counterparty's Resend Request (MsgType=2) message before temporarily releasing the Session's lock.
The default value is ResendingBatchSize. The property key is ResendingBatchSize.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ResendingBatchSize instead.")]
public int ResendingBatchSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The maximum number of messages sent in reply to the Resend Request (MsgType=2) message before temporarily releasing the Session's lock |
Remarks
This property is obsolete and is kept for backward compatibility. Use ResendingBatchSize in GlobalSessionSettings instead.
ResendingQueueSize
The number of sent messages that are available for resending in reply to the counterparty's Resend Request (MsgType=2) message.
The default value is ResendingQueueSize. The property key is ResendingQueueSize.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ResendingQueueSize instead.")]
public int ResendingQueueSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The number of sent messages that are available for resending in reply to the counterparty's Resend Request (MsgType=2) message |
Remarks
This property is obsolete and is kept for backward compatibility. Use ResendingQueueSize in GlobalSessionSettings instead.
See Also
ScrambledLogonFields
Tags for the Logon(A) message fields to scramble in the session storage for security reasons.
The default value is ScrambledLogonFields. The property key is ScrambledLogonFields.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ScrambledLogonFields instead.")]
public Collection<int> ScrambledLogonFields { get; set; }
Property Value
| Type | Description |
|---|---|
| Collection<int> |
Remarks
This property is obsolete and is kept for backward compatibility. Use ScrambledLogonFields in GlobalSessionSettings instead.
SendBufferSize
TCP socket send buffer size allocated to FIX connection, in bytes.
The default value is SendBufferSize. The property key is SendBufferSize.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SendBufferSize instead.")]
public int SendBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | TCP socket send buffer size in bytes |
Remarks
This property is obsolete and is kept for backward compatibility. Use SendBufferSize in GlobalSessionSettings instead.
SendLogoutOnException
Send the Logout message before dropping the telecommunication link in case of an exception during the processing of an incoming FIX message.
The default value is SendLogoutOnException. The property key is SendLogoutOnException.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SendLogoutOnException instead.")]
public bool SendLogoutOnException { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | option to send or not to send |
Remarks
This property is obsolete and is kept for backward compatibility. Use SendLogoutOnException in GlobalSessionSettings instead.
SendLogoutOnInvalidLogon
Send the Logout message before dropping the telecommunication link in reply on an invalid logon attempt.
The default value is SendLogoutOnInvalidLogon. The property key is SendLogoutOnInvalidLogon.
Declaration
public bool SendLogoutOnInvalidLogon { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Send the Logout message before dropping the telecommunication link in reply on an invalid logon attempt |
SendQueueMaxSize
Send queue maximum size in bytes.
The default value is SendQueueMaxSize. The property key is SendQueueMaxSize.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SendQueueMaxSize instead.")]
public int SendQueueMaxSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Send queue maximum size in bytes |
Remarks
This property is obsolete and is kept for backward compatibility. Use SendQueueMaxSize in GlobalSessionSettings instead.
SendSpinningTimeout
The send spinning timeout (in microseconds) of the Send(IMessage) method to wait for the socket sending buffer availability in the spin loop mode before placing the message to the outgoing queue (to be sent later by the sending thread).
Should not be greater than 1 sec (the minimal Heartbeat interval).
The default value is SendSpinningTimeout. The property key is SendSpinningTimeout.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SendSpinningTimeout instead.")]
public int SendSpinningTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The send spinning timeout (in microseconds) |
Remarks
This property is obsolete and is kept for backward compatibility. Use SendSpinningTimeout in GlobalSessionSettings instead.
SessionStorageFileFlushPolicy
The File-based Session Storage flush policy.
This controls the necessity to flush data on the disk after each update of .summary and .state log files.
The default value is SessionStorageFileFlushPolicy. The property key is SessionStorageFileFlushPolicy.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SessionStorageFileFlushPolicy instead.")]
public FileFlushPolicy SessionStorageFileFlushPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| FileFlushPolicy | The File-based Session Storage flush policy. |
Remarks
This property is obsolete and is kept for backward compatibility. Use SessionStorageFileFlushPolicy in GlobalSessionSettings instead.
SessionStorageReadingMode
The reading mode, which is used during the restoring of messages from the File-based Storage.
The default value is SessionStorageReadingMode. The property key is SessionStorageReadingMode.
Declaration
public StorageReadingMode SessionStorageReadingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| StorageReadingMode | The reading mode, which is used during the restoring of messages from the File-based Storage. |
SetApplVerId
Set the ApplVerID (1128) field in all outgoing application messages when a FIX protocol version FIX 5.0 or above is used.
The default value is SetApplVerId. The property key is SetApplVerId.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SetApplVerId instead.")]
public bool SetApplVerId { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Set the ApplVerID (1128) field in all outgoing application messages when a FIX protocol version FIX 5.0 or above is used |
Remarks
This property is obsolete and is kept for backward compatibility. Use SetApplVerId in GlobalSessionSettings instead.
See Also
SetLastMsgSeqNumProcessed
Set the LastMsgSeqNumProcessed (369) field in outgoing messages.
The default value is SetLastMsgSeqNumProcessed. The property key is SetLastMsgSeqNumProcessed.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SetLastMsgSeqNumProcessed instead.")]
public bool SetLastMsgSeqNumProcessed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Set the LastMsgSeqNumProcessed (369) field in outgoing messages |
Remarks
This property is obsolete and is kept for backward compatibility. Use SetLastMsgSeqNumProcessed in GlobalSessionSettings instead.
See Also
Ssl
SSL connection settings.
Declaration
public EngineSslSettings Ssl { get; }
Property Value
| Type | Description |
|---|---|
| EngineSslSettings |
StorageDirectory
Inbound and outbound FIX messages and session's state data are stored in this directory.
The default value is StorageDirectory. The property key is StorageDirectory.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.StorageDirectory instead.")]
public string StorageDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Storage directory |
Remarks
This property is obsolete and is kept for backward compatibility. Use StorageDirectory in GlobalSessionSettings instead.
SupportNextExpectedMsgSeqNum
Support the NextExpectedMsgSeqNum field (tag 789) in Logon (MsgType=A) messages.
Note: Using of this option should be bilaterally agreed upon between counterparts.
The default value is SupportNextExpectedMsgSeqNum. The property key is SupportNextExpectedMsgSeqNum.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.SupportNextExpectedMsgSeqNum instead.")]
public bool SupportNextExpectedMsgSeqNum { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Support the NextExpectedMsgSeqNum field (tag 789) in Logon (MsgType=A) messages |
Remarks
This property is obsolete and is kept for backward compatibility. Use SupportNextExpectedMsgSeqNum in GlobalSessionSettings instead.
See Also
TcpNoDelay
Improve latency at the expense of throughput (disable/enable Nagle's algorithm).
The default value is TcpNoDelay. The property key is TcpNoDelay.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.TcpNoDelay instead.")]
public bool TcpNoDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Improve latency at the expense of throughput (disable/enable Nagle's algorithm) |
Remarks
This property is obsolete and is kept for backward compatibility. Use TcpNoDelay in GlobalSessionSettings instead.
See Also
UpdateSendingTime
Update the SendingTime (52) field in the outgoing message even if it is already set.
The default value is UpdateSendingTime. The property key is UpdateSendingTime.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.UpdateSendingTime instead.")]
public bool UpdateSendingTime { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Update the SendingTime (52) field in the outgoing message if it is already set |
Remarks
This property is obsolete and is kept for backward compatibility. Use UpdateSendingTime in GlobalSessionSettings instead.
See Also
UseIndexFile
Use the message index file to improve the FIX session recovery speed.
The default value is UseIndexFile. The property key is UseIndexFile.
Declaration
public bool UseIndexFile { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ValidateCheckSum
Validate the CheckSum (tag 10) field value.
The default value is ValidateCheckSum. The property key is ValidateCheckSum.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateCheckSum instead.")]
public bool ValidateCheckSum { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate the CheckSum (tag 10) field value |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateCheckSum in GlobalSessionSettings instead.
ValidateDuplicatedFields
Validate the presence of fields that appear more than once.
The default value is ValidateDuplicatedFields. The property key is ValidateDuplicatedFields.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateDuplicatedFields instead.")]
public bool ValidateDuplicatedFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate the presence of fields that appear more than once |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateDuplicatedFields in GlobalSessionSettings instead.
See Also
ValidateEmptyFieldValues
Validate empty message field values.
The default value is ValidateEmptyFieldValues. The property key is ValidateEmptyFieldValues.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateEmptyFieldValues instead.")]
public bool ValidateEmptyFieldValues { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Option to validate empty message field values |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateEmptyFieldValues in GlobalSessionSettings instead.
See Also
ValidateFieldValues
Option to validate field values of FIX messages in accordance with the FIX protocol or its FIX Dialect.
The default value is ValidateFieldValues. The property key is ValidateFieldValues.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateFieldValues instead.")]
public bool ValidateFieldValues { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Option to validate field values of FIX messages in accordance with the FIX protocol or its FIX Dialect |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateFieldValues in GlobalSessionSettings instead.
See Also
ValidateRepeatingGroupEntryCount
Validate that the declared number of repeating group instances is equal to the actual one.
The default value is ValidateRepeatingGroupEntryCount. The property key is ValidateRepeatingGroupEntryCount.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateRepeatingGroupEntryCount instead.")]
public bool ValidateRepeatingGroupEntryCount { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate that the declared number of repeating group instances is equal to the actual one |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateRepeatingGroupEntryCount in GlobalSessionSettings instead.
See Also
ValidateRepeatingGroupLeadingField
Validate that repeating group instances start with the correct leading fields.
The default value is ValidateRepeatingGroupLeadingField. The property key is ValidateRepeatingGroupLeadingField.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateRepeatingGroupLeadingField instead.")]
public bool ValidateRepeatingGroupLeadingField { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate that repeating group instances start with the correct leading fields. |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateRepeatingGroupLeadingField in GlobalSessionSettings instead.
See Also
ValidateRequiredFields
Validate the presence of required message fields.
The default value is ValidateRequiredFields. The property key is ValidateRequiredFields.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateRequiredFields instead.")]
public bool ValidateRequiredFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate the presence of required message fields |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateRequiredFields in GlobalSessionSettings instead.
See Also
ValidateUnknownFields
Validate that there are no unknown message fields.
The default value is ValidateUnknownFields. The property key is ValidateUnknownFields.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateUnknownFields instead.")]
public bool ValidateUnknownFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate that there are no unknown message fields |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateUnknownFields in GlobalSessionSettings instead.
See Also
ValidateUnknownMessages
Validate that there are no unknown messages received.
The default value is ValidateUnknownMessages. The property key is ValidateUnknownMessages.
Declaration
[Obsolete("This property is obsolete. Use the GlobalSessionSettings.ValidateUnknownMessages instead.")]
public bool ValidateUnknownMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Validate that there are no unknown messages received |
Remarks
This property is obsolete and is kept for backward compatibility. Use ValidateUnknownMessages in GlobalSessionSettings instead.
See Also
Versions
Standard FIX dictionaries to load during the Engine initialization.
The default value is Versions. The property key is Versions.
Declaration
public HashSet<ProtocolVersion> Versions { get; }
Property Value
| Type | Description |
|---|---|
| HashSet<ProtocolVersion> | Standard FIX dictionaries to load during the Engine initialization |
Methods
LoadFromConfigurationFile(string)
Loads configuration settings from the .NET application configuration file or from the given XML, JSON or INI configuration file.
Declaration
public void LoadFromConfigurationFile(string configFileName = "")
Parameters
| Type | Name | Description |
|---|---|---|
| string | configFileName | XML, JSON or INI configuration file name. If the parameter is empty, then the .NET application configuration file is used. |
Exceptions
| Type | Condition |
|---|---|
| EngineException | Configurations settings cannot be loaded. |
LoadFromConfigurationStream(Stream, ConfigurationFormat)
Loads configuration settings from a stream in the specified format.
Declaration
public void LoadFromConfigurationStream(Stream stream, ConfigurationFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream with engine settings. |
| ConfigurationFormat | format | The stream format. |
Exceptions
| Type | Condition |
|---|---|
| EngineException | Configurations settings cannot be loaded. |
ToString()
Returns the string representation.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | string representation |