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
TSessionSession type.
TRequestIdRequest identifier type.
- Inheritance
 - 
      
      SubscriptionInfo<TSession, TRequestId>
 
- Inherited Members
 
- Extension Methods
 
Remarks
Initializes a new instance of the SubscriptionInfo<TSession, TRequestId>.
Constructors
SubscriptionInfo(TSession, TRequestId, ServerSubscription, MessageTypes)
Subscription.
public SubscriptionInfo(TSession session, TRequestId requestId, ServerSubscription subscription, MessageTypes type)
  Parameters
sessionTSessionSession.
requestIdTRequestIdRequest identifier.
subscriptionServerSubscriptionSubscription.
typeMessageTypesMessage type.
Remarks
Initializes a new instance of the SubscriptionInfo<TSession, TRequestId>.
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; }