StreamLink for Silverlight
INewsSubscriptionListener Interface
StreamLink for SilverlightCaplin.StreamLink.Subscription.NewsINewsSubscriptionListener
The INewsSubscriptionListener interface allows applications to receive events raised for a news headline subscription.
Declaration Syntax
C#Visual BasicVisual C++
public interface INewsSubscriptionListener : ISubscriptionListener
Public Interface INewsSubscriptionListener _
	Implements ISubscriptionListener
public interface class INewsSubscriptionListener : ISubscriptionListener
Members
All MembersMethods



IconMemberDescription
NewsUpdated(ISubscription, INewsEvent)
Called when a new news headline is received from the Liberator.

SubscriptionErrorReceived(ISubscription, ISubscriptionErrorEvent)
Handles an event raised when there is an error in a subscription.
(Inherited from ISubscriptionListener.)
SubscriptionStatusUpdated(ISubscription, ISubscriptionStatusEvent)
Handles an event raised when there is a change in the status of a subscription.
(Inherited from ISubscriptionListener.)
Remarks

You must define a class that implements this interface. You implement each of the callback methods for the interface so that they handle the received events according to the needs of your application.

Note: StreamLink queues events in the order they were raised and passes each event in turn to an appropriate callback method of the relevant listener. All listener callbacks execute in the same dedicated worker thread, so while a particular callback method is running no other callbacks will be invoked.

Assembly: Caplin.StreamLink.Silverlight (Module: Caplin.StreamLink.Silverlight) Version: 5.0.21.0 (5.0.21.0)