FixSession

StockSharp.Server.Fix

Session settings.

Inherits: BaseLogReceiver

Implements: IMessageListenerSession, ILogReceiver, ILogSource, IDisposable

Constructors

FixSession
public FixSession()
fixSession = FixSession()

Initializes a new instance of the FixSession.

Properties

Address
public EndPoint Address { get; set; }
value = fixSession.Address
fixSession.Address = value

Server address.

DateParser
public FastDateTimeParser DateParser { get; set; }
value = fixSession.DateParser
fixSession.DateParser = value

Date parser.

DateTimeParser
public FastDateTimeParser DateTimeParser { get; set; }
value = fixSession.DateTimeParser
fixSession.DateTimeParser = value

Date and time parser.

Dialect
public Type Dialect { get; set; }
value = fixSession.Dialect
fixSession.Dialect = value

The FIX dialect. The default is DefaultFixDialect.

Encoding
public Encoding Encoding { get; set; }
value = fixSession.Encoding
fixSession.Encoding = value

The encoding used for data transmission.

HeartBeat
public TimeSpan HeartBeat { get; set; }
value = fixSession.HeartBeat
fixSession.HeartBeat = value

The interval of the connection availability check. The default is 1 minute.

IncrementalDepthUpdates
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.

IsConnected
public virtual bool IsConnected { get; }
value = fixSession.IsConnected

Is connected.

IsEnabled
public bool IsEnabled { get; set; }
value = fixSession.IsEnabled
fixSession.IsEnabled = value

Enabled.

MaxReadBytes
public int MaxReadBytes { get; set; }
value = fixSession.MaxReadBytes
fixSession.MaxReadBytes = value

Gets and sets the maximum allowed bytes per read.

MaxWriteBytes
public int MaxWriteBytes { get; set; }
value = fixSession.MaxWriteBytes
fixSession.MaxWriteBytes = value

Gets and sets the maximum allowed bytes per write.

ReadTimeout
public TimeSpan ReadTimeout { get; set; }
value = fixSession.ReadTimeout
fixSession.ReadTimeout = value

The timeout of reading data. The default value is Zero.

SenderCompId
public string SenderCompId { get; set; }
value = fixSession.SenderCompId
fixSession.SenderCompId = value

Sender ID.

TargetCompId
public string TargetCompId { get; set; }
value = fixSession.TargetCompId
fixSession.TargetCompId = value

Target ID.

TimeParser
public FastTimeSpanParser TimeParser { get; set; }
value = fixSession.TimeParser
fixSession.TimeParser = value

Time parser.

WriteTimeout
public TimeSpan WriteTimeout { get; set; }
value = fixSession.WriteTimeout
fixSession.WriteTimeout = value

The timeout of sending data. The default value is Zero.

YearMonthParser
public FastDateTimeParser YearMonthParser { get; set; }
value = fixSession.YearMonthParser
fixSession.YearMonthParser = value

Year and month parser.

Methods

IncreaseBytesSent
public virtual void IncreaseBytesSent(int count)
fixSession.IncreaseBytesSent(count)

Increase BytesSent.

count
Value.
IncreaseErrorCount
public virtual void IncreaseErrorCount()
fixSession.IncreaseErrorCount()

Increase ErrorCount.

Load
public override void Load(SettingsStorage storage)
fixSession.Load(storage)

Load settings.

storage
Settings storage.
ResetErrorCount
public virtual void ResetErrorCount()
fixSession.ResetErrorCount()

Reset ErrorCount.

Save
public override void Save(SettingsStorage storage)
fixSession.Save(storage)

Save settings.

storage
Settings storage.