Represents a subscription to a subject on the Liberator.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public interface ISubscription
Public Interface ISubscription
public interface class ISubscription
![](../icons/collapse_all.gif)
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | DataStatus |
Identifies if the data for the subscription truely represents the live data for the subject.
|
![]() | Parameters |
Gets the parameters used when subscribing to the subject on the Liberator.
|
![]() | Status |
Gets the status of this subscription.
|
![]() | Subject |
The name that the subscription will request when subscribed.
|
![]() | Subscribe()()() |
Subscribes to the Subject on the Liberator.
|
![]() | SubscriptionListener |
Gets the ISubscriptionListener that is informed of
all subscription events relating to this subscription.
|
![]() | Type |
Identifies the type of subject the subscription is for.
|
![]() | Unsubscribe()()() |
Unsubscribes to the Subject on the Liberator.
|
![](../icons/collapse_all.gif)
Provides information and functionality that is common to all subscription types.
There is a derived class for each specific type of data that you can subscribe to; for example a record subscription is represented by [!:StreamLink.Subscription.Record.IRecordSubscription].
Use the CreateXXXSubscription() methods of [!:StreamLink.IStreamLinkProvider] to obtain subscriptions of the appropriate type. For example, IStreamLinkProvider’s [!:StreamLink.IStreamLinkProvider.CreateRecordSubscription] method will return a record subscription (IRecordSubscription).