Interface ISnapshotHolder<TMessage>
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
Interface, described snapshots holder.
public interface ISnapshotHolder<TMessage> where TMessage : Message
Type Parameters
TMessageMessage type.
- Extension Methods
Methods
Process(TMessage, bool)
Process
TMessage Process(TMessage change, bool needResponse)
Parameters
changeTMessagechange. needResponseboolNeed response value.
Returns
- TMessage
change.
ResetSnapshot(SecurityId)
Reset snapshot for the specified security.
void ResetSnapshot(SecurityId securityId)
Parameters
securityIdSecurityIdSecurity ID.
TryGetSnapshot(SecurityId)
Try get snapshot for the specified security.
TMessage TryGetSnapshot(SecurityId securityId)
Parameters
securityIdSecurityIdSecurity ID.
Returns
- TMessage
Snapshot.