FixSession
Session settings.
Inherits: BaseLogReceiver
Implements: IMessageListenerSession, ILogReceiver, ILogSource, IDisposable
Constructors
public FixSession()
fixSession = FixSession()
Initializes a new instance of the FixSession.
Properties
public EndPoint Address { get; set; }
value = fixSession.Address
fixSession.Address = value
Server address.
public FastDateTimeParser DateParser { get; set; }
value = fixSession.DateParser
fixSession.DateParser = value
Date parser.
public FastDateTimeParser DateTimeParser { get; set; }
value = fixSession.DateTimeParser
fixSession.DateTimeParser = value
Date and time parser.
public Type Dialect { get; set; }
value = fixSession.Dialect
fixSession.Dialect = value
The FIX dialect. The default is DefaultFixDialect.
public Encoding Encoding { get; set; }
value = fixSession.Encoding
fixSession.Encoding = value
The encoding used for data transmission.
public TimeSpan HeartBeat { get; set; }
value = fixSession.HeartBeat
fixSession.HeartBeat = value
The interval of the connection availability check. The default is 1 minute.
public bool IncrementalDepthUpdates { get; set; }
value = fixSession.IncrementalDepthUpdates
fixSession.IncrementalDepthUpdates = value
To send changes by the order book. If disabled, the order book is sent entirely. The default is enabled.
public bool IsEnabled { get; set; }
value = fixSession.IsEnabled
fixSession.IsEnabled = value
Enabled.
public int MaxReadBytes { get; set; }
value = fixSession.MaxReadBytes
fixSession.MaxReadBytes = value
Gets and sets the maximum allowed bytes per read.
public int MaxWriteBytes { get; set; }
value = fixSession.MaxWriteBytes
fixSession.MaxWriteBytes = value
Gets and sets the maximum allowed bytes per write.
public TimeSpan ReadTimeout { get; set; }
value = fixSession.ReadTimeout
fixSession.ReadTimeout = value
The timeout of reading data. The default value is Zero.
public string SenderCompId { get; set; }
value = fixSession.SenderCompId
fixSession.SenderCompId = value
Sender ID.
public string TargetCompId { get; set; }
value = fixSession.TargetCompId
fixSession.TargetCompId = value
Target ID.
public FastTimeSpanParser TimeParser { get; set; }
value = fixSession.TimeParser
fixSession.TimeParser = value
Time parser.
public TimeSpan WriteTimeout { get; set; }
value = fixSession.WriteTimeout
fixSession.WriteTimeout = value
The timeout of sending data. The default value is Zero.
public FastDateTimeParser YearMonthParser { get; set; }
value = fixSession.YearMonthParser
fixSession.YearMonthParser = value
Year and month parser.
Methods
public virtual void IncreaseBytesSent(int count)
fixSession.IncreaseBytesSent(count)
Increase BytesSent.
- count
- Value.
public virtual void IncreaseErrorCount()
fixSession.IncreaseErrorCount()
Increase ErrorCount.
public override void Load(SettingsStorage storage)
fixSession.Load(storage)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
public virtual void ResetErrorCount()
fixSession.ResetErrorCount()
Reset ErrorCount.
public override void Save(SettingsStorage storage)
fixSession.Save(storage)
Saves the entity's state to the specified settings storage.