SbeSession
StockSharp.Server.Sbe
SBE session (base configuration).
Inherits: BaseLogReceiver
Implements: IMessageListenerSession, ILogReceiver, ILogSource, IDisposable
Properties
HeartBeat
public TimeSpan HeartBeat { get; set; }
value = sbeSession.HeartBeat
sbeSession.HeartBeat = value
Heartbeat interval.
IncrementalDepthUpdates
public bool IncrementalDepthUpdates { get; set; }
value = sbeSession.IncrementalDepthUpdates
sbeSession.IncrementalDepthUpdates = value
Send incremental depth updates.
SenderCompId
public string SenderCompId { get; set; }
value = sbeSession.SenderCompId
sbeSession.SenderCompId = value
Sender identifier (client login).
TargetCompId
public string TargetCompId { get; set; }
value = sbeSession.TargetCompId
sbeSession.TargetCompId = value
Target server identifier.
Methods
IncreaseBytesSent
public virtual void IncreaseBytesSent(int count)
sbeSession.IncreaseBytesSent(count)
Increase BytesSent.
- count
- Value.
IncreaseErrorCount
public virtual void IncreaseErrorCount()
sbeSession.IncreaseErrorCount()
Increase ErrorCount.
Load
public override void Load(SettingsStorage storage)
sbeSession.Load(storage)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
ResetErrorCount
public virtual void ResetErrorCount()
sbeSession.ResetErrorCount()
Reset ErrorCount.
Save
public override void Save(SettingsStorage storage)
sbeSession.Save(storage)
Saves the entity's state to the specified settings storage.