Interface ISubscription<TSession>
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Describes a subscription associated with a particular message-listener session.
public interface ISubscription<TSession>
Type Parameters
TSessionThe session type the subscription belongs to.
- Extension Methods
Properties
Id
Unique subscription/request identifier.
long Id { get; }
Property Value
Responses
The set of message types that are expected/produced as responses for this subscription.
IEnumerable<MessageTypes> Responses { get; }
Property Value
Session
The session in which the subscription was created.
TSession Session { get; }
Property Value
- TSession
State
Current subscription state.
SubscriptionStates State { get; set; }
Property Value
Suspend
Indicates whether data delivery for the subscription is temporarily paused.
bool Suspend { get; }
Property Value
Remarks
When true, messages for this subscription are not delivered to the receiver.