Class BaseSubscriptionMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Base implementation of ISubscriptionMessage interface.
[DataContract]
public abstract class BaseSubscriptionMessage : Message, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable
- Inheritance
-
BaseSubscriptionMessage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseSubscriptionMessage(MessageTypes)
Initializes a new instance of the BaseSubscriptionMessage.
public BaseSubscriptionMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
Count
Max count.
[DataMember]
public virtual long? Count { get; set; }
Property Value
- long?
DataType
Data type info.
public abstract DataType DataType { get; }
Property Value
FillGaps
[DataMember]
public virtual FillGapsDays? FillGaps { get; set; }
Property Value
FilterEnabled
Message contains fields with non default values.
public virtual bool FilterEnabled { get; }
Property Value
From
Start date, from which data needs to be retrieved.
[DataMember]
public virtual DateTimeOffset? From { get; set; }
Property Value
IsSubscribe
The message is subscription.
[DataMember]
public virtual bool IsSubscribe { get; set; }
Property Value
OriginalTransactionId
ID of the original message TransactionId for which this message is a response.
[DataMember]
public virtual long OriginalTransactionId { get; set; }
Property Value
Skip
Skip count.
[DataMember]
public virtual long? Skip { get; set; }
Property Value
- long?
To
End date, until which data needs to be retrieved.
[DataMember]
public virtual DateTimeOffset? To { get; set; }
Property Value
TransactionId
Request identifier.
[DataMember]
public virtual long TransactionId { get; set; }
Property Value
Methods
CopyTo(BaseSubscriptionMessage)
Copy the message into the destination
.
protected BaseSubscriptionMessage CopyTo(BaseSubscriptionMessage destination)
Parameters
destination
BaseSubscriptionMessageThe object, to which copied information.
Returns
- BaseSubscriptionMessage
The object, to which copied information.
ToString()
public override string ToString()