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
TSessionSession.
requestId
TRequestIdRequest identifier.
subscription
ServerSubscriptionSubscription.
type
MessageTypesMessage type.
Fields
ProcessedLevel1
Processed level1 securities.
public readonly HashSet<SecurityId> ProcessedLevel1
Field Value
Responses
Responses.
public readonly ISet<MessageTypes> Responses
Field Value
Properties
Arg
Extra argument.
public object Arg { get; set; }
Property Value
DataType
Data type info.
public DataType DataType { get; }
Property Value
Id
Subscription id.
public long Id { get; }
Property Value
RequestId
Request identifier.
public TRequestId RequestId { get; }
Property Value
- TRequestId
SecurityId
Security ID.
public SecurityId SecurityId { get; }
Property Value
Session
Session.
public TSession Session { get; }
Property Value
- TSession
State
State.
public SubscriptionStates State { get; set; }
Property Value
Subscription
Subscription.
public ServerSubscription Subscription { get; }
Property Value
Suspend
Suspended.
public bool Suspend { get; set; }
Property Value
Type
Message type.
public MessageTypes Type { get; }