The subscription namespace contains common interfaces and enumerations that are used by all data-type specific subscriptions.
Declaration Syntax
C# | Visual Basic | Visual C++ |
namespace Caplin.StreamLink.Subscription
Namespace Caplin.StreamLink.Subscription
namespace Caplin.StreamLink.Subscription
Types
All Types | Interfaces | Enumerations |
Icon | Type | Description |
---|---|---|
DataStatus |
Defines the possible states of the data in a subscription.
| |
ISubscription |
Represents a subscription to a subject on the Liberator.
| |
ISubscriptionDataEvent |
Defines the interface from which all subject-type specific interfaces are descendent
| |
ISubscriptionErrorEvent |
Represents an event raised when there is an error in a subscription.
| |
ISubscriptionListener |
The ISubscriptionListener interface allows applications to receive events
raised for a subscription: error events (ISubscriptionErrorEvent)
and status change events (ISubscriptionStatusEvent).
For each type of subscription you must define a class that implements a listener
for events that can be raised on the subscription type.
For example, events relating to record subscriptions
([!:StreamLink.Subscription.Record.IRecordSubscription])
are handled by an implementation of
[!:StreamLink.Subscription.Record.IRecordSubscriptionListener].
The various subscription listeners all inherit from ISubscriptionListener,
so they must implement the callback methods defined here.
IRecordSubscriptionListenerIContainerSubscriptionListenerIDirectorySubscriptionListener | |
ISubscriptionParameters |
The parameters relating to a subscription
(ISubscription) on Liberator.
| |
ISubscriptionStatusEvent |
Represents an event raised when there is a change in the status of a subscription.
| |
SubscriptionError |
Identifies the type of a subscription related error.
| |
SubscriptionEventType |
Indicates what type of ISubscriptionDataEvent has occurred.
| |
SubscriptionStatus |
Indicates the status of a subscription.
| |
SubscriptionStatusEventType |
Indicates the type of an event (ISubscriptionStatusEvent)
that is raised when there is a change in the status of a subscription.
|
Remarks
Defines base interfaces for all subscriptions, subscription listeners and events. Event types include ISubscriptionDataEvent,
ISubscriptionStatusEvent, and ISubscriptionErrorEvent.
Also defines standard status enums such as DataStatus, SubscriptionStatus, SubscriptionStatusEventType,
and SubscriptionError.