Table of Contents

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 MessageTypes

Message 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

DataType

FillGaps

[DataMember]
public virtual FillGapsDays? FillGaps { get; set; }

Property Value

FillGapsDays?

FilterEnabled

Message contains fields with non default values.

public virtual bool FilterEnabled { get; }

Property Value

bool

From

Start date, from which data needs to be retrieved.

[DataMember]
public virtual DateTimeOffset? From { get; set; }

Property Value

DateTimeOffset?

IsSubscribe

The message is subscription.

[DataMember]
public virtual bool IsSubscribe { get; set; }

Property Value

bool

OriginalTransactionId

ID of the original message TransactionId for which this message is a response.

[DataMember]
public virtual long OriginalTransactionId { get; set; }

Property Value

long

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

DateTimeOffset?

TransactionId

Request identifier.

[DataMember]
public virtual long TransactionId { get; set; }

Property Value

long

Methods

CopyTo(BaseSubscriptionMessage)

Copy the message into the destination.

protected BaseSubscriptionMessage CopyTo(BaseSubscriptionMessage destination)

Parameters

destination BaseSubscriptionMessage

The object, to which copied information.

Returns

BaseSubscriptionMessage

The object, to which copied information.

ToString()

public override string ToString()

Returns

string