Table of Contents

Class SubscriptionInfo<TSession, TRequestId>

Namespace
StockSharp.Server.Core
Assembly
StockSharp.Server.Core.dll

Subscription.

public class SubscriptionInfo<TSession, TRequestId> where TSession : class, IMessageListenerSession

Type Parameters

TSession

Session type.

TRequestId

Request identifier type.

Inheritance
SubscriptionInfo<TSession, TRequestId>
Inherited Members
Extension Methods

Constructors

SubscriptionInfo(TSession, TRequestId, ServerSubscription, MessageTypes)

Initializes a new instance of the SubscriptionInfo<TSession, TRequestId>.

public SubscriptionInfo(TSession session, TRequestId requestId, ServerSubscription subscription, MessageTypes type)

Parameters

session TSession

Session.

requestId TRequestId

Request identifier.

subscription ServerSubscription

Subscription.

type MessageTypes

Message type.

Fields

ProcessedLevel1

Processed level1 securities.

public readonly HashSet<SecurityId> ProcessedLevel1

Field Value

HashSet<SecurityId>

Responses

Responses.

public readonly ISet<MessageTypes> Responses

Field Value

ISet<MessageTypes>

Properties

Arg

Extra argument.

public object Arg { get; set; }

Property Value

object

DataType

Data type info.

public DataType DataType { get; }

Property Value

DataType

Id

Subscription id.

public long Id { get; }

Property Value

long

RequestId

Request identifier.

public TRequestId RequestId { get; }

Property Value

TRequestId

SecurityId

Security ID.

public SecurityId SecurityId { get; }

Property Value

SecurityId

Session

Session.

public TSession Session { get; }

Property Value

TSession

State

State.

public SubscriptionStates State { get; set; }

Property Value

SubscriptionStates

Subscription

Subscription.

public ServerSubscription Subscription { get; }

Property Value

ServerSubscription

Suspend

Suspended.

public bool Suspend { get; set; }

Property Value

bool

Type

Message type.

public MessageTypes Type { get; }

Property Value

MessageTypes