ReConnectionSettings

StockSharp.Messages

接続トラッキング設定IMessageAdapterサーバで

実装: IPersistable

コンストラクター

ReConnectionSettings
public ReConnectionSettings()
reConnectionSettings = ReConnectionSettings()

ReConnectionSettings の新規インスタンスを初期化します。

プロパティ

AttemptCount
public int AttemptCount { get; set; }
value = reConnectionSettings.AttemptCount
reConnectionSettings.AttemptCount = value

初期接続を確立しようとする試みの数、それが確立されていない場合(タイムアウト、ネットワークの失敗など)。デフォルト値は0です。無限数の定義には-1を使用します。

Interval
public TimeSpan Interval { get; set; }
value = reConnectionSettings.Interval
reConnectionSettings.Interval = value

試みが接続を確立する間隔。デフォルト値は10秒です。

ReAttemptCount
public int ReAttemptCount { get; set; }
value = reConnectionSettings.ReAttemptCount
reConnectionSettings.ReAttemptCount = value

操作中に接続が失われた場合、再接続しようとする試みの数。デフォルト値は100です。無限数を設定するには-1を使用します。

TimeOutInterval
public TimeSpan TimeOutInterval { get; set; }
value = reConnectionSettings.TimeOutInterval
reConnectionSettings.TimeOutInterval = value

タイムアウトの成功接続/切断。値がゼロの場合、監視が実行されます。デフォルト値は30秒です。

WorkingTime
public WorkingTime WorkingTime { get; set; }
value = reConnectionSettings.WorkingTime
reConnectionSettings.WorkingTime = value

スケジュール、接続を行う必要がある間。例えば、交換完了時に接続を追跡する必要はありません。

メソッド

Load
public void Load(SettingsStorage storage)
reConnectionSettings.Load(storage)

設定をロードします。

storage
設定ストレージ。
Save
public void Save(SettingsStorage storage)
reConnectionSettings.Save(storage)

設定を保存します。

storage
設定ストレージ。