FixSession

StockSharp.Server.Fix

会话设置.

继承自: BaseLogReceiver

实现: IMessageListenerSession, ILogReceiver, ILogSource, IDisposable

构造函数

FixSession
public FixSession()
fixSession = FixSession()

初始化了 & ##FixSession+#的新实例.

属性

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

服务器地址 。

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

约会解析器。

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

日期和时间分析器。

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

FIX方言,默认为DefaultFixDialect.

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

用于数据传输的编码.

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

连接可用性检查的间隔。 默认为 1 分钟 。

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

要按命令簿发送更改。 如果禁用, 命令簿将全部发送。 默认启用 。

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

获取连接状态 。

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

已启用。

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

获取并设定每个读取的最大允许字节数 。

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

获取并设定每个写入的最大允许字节数 。

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

读取数据的超时, 默认值为零 。

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

发信人身份证明.

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

目标身份

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

时会会者.

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

发送数据的超时。 默认值为 0 。

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

年月分分论.

方法

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

Increase BytesSent.

count
价值.
IncreaseErrorCount
public virtual void IncreaseErrorCount()
fixSession.IncreaseErrorCount()

Increase ErrorCount.

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

装入设置 。

storage
设置存储 。
ResetErrorCount
public virtual void ResetErrorCount()
fixSession.ResetErrorCount()

Reset ErrorCount.

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

保存设置 。

storage
设置存储 。