StreamLink.NET
IRecordSubscriptionListener Interface
StreamLink.NETCaplin.StreamLink.Subscription.RecordIRecordSubscriptionListener
The IRecordSubscriptionListener interface allows applications to receive events raised for a record subscription.
Declaration Syntax
C#Visual BasicVisual C++
public interface IRecordSubscriptionListener : ISubscriptionListener
Public Interface IRecordSubscriptionListener _
	Implements ISubscriptionListener
public interface class IRecordSubscriptionListener : ISubscriptionListener
Members
All MembersMethods



IconMemberDescription
RecordType2Updated(ISubscription, IRecordType2Event)
Called when an update to a type 2 data in a record is received from the Liberator.

RecordType3Updated(ISubscription, IRecordType3Event)
Called when an update to type 3 data in a record is received from the Liberator.

RecordUpdated(ISubscription, IRecordEvent)
Called when an update to type 1 data in a record 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. In particular, the RecordUpdated(ISubscription, IRecordEvent), RecordType2Updated(ISubscription, IRecordType2Event), and RecordType3Updated(ISubscription, IRecordType3Event) methods should be coded to handle the updates to the record.

For an explanation of type 1, type 2, and type 3 data in records, see the Caplin StreamLink Overview.

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 (Module: Caplin.StreamLink) Version: 5.0.19.0 (5.0.19.0)