StreamLink.NET
ISubscription Interface
StreamLink.NETCaplin.StreamLink.SubscriptionISubscription
Represents a subscription to a subject on the Liberator.
Declaration Syntax
C#Visual BasicVisual C++
public interface ISubscription
Public Interface ISubscription
public interface class ISubscription
Members
All MembersMethodsProperties



IconMemberDescription
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.

Remarks

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).

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.5.0 (5.0.5.0)