DataSource.NET
7.1.5.312018
|
An implementation of Caplin.DataSource.Subscription.ISubscriptionListener containing empty callback methods. you can derivce your implementation of Caplin.DataSource.Subscription.ISubscriptionListener from this class, and override selected callback methods with full implementations as required. More...
Public Member Functions | |
virtual void | ContainerUpdated (ISubscription subscription, IPeer peer, IContainerMessage update) |
Called when a container update is received. More... | |
virtual void | GenericMessageUpdated (ISubscription subscription, IPeer peer, IGenericMessage update) |
Called when an update to generic data in a message is received. More... | |
virtual void | NewsUpdated (ISubscription subscription, IPeer peer, INewsMessage update) |
Called when a news headline update is received. More... | |
virtual void | PageUpdated (ISubscription subscription, IPeer peer, IPageMessage update) |
Called when a page update is received. More... | |
virtual void | PermissionUpdated (ISubscription subscription, IPeer peer, IPermissionMessage update) |
Called when when a permission update is received. More... | |
virtual void | RecordType2Updated (ISubscription subscription, IPeer peer, IRecordType2Message update) |
Called when an update to type 2 data in a record is received. More... | |
virtual void | RecordType3Updated (ISubscription subscription, IPeer peer, IRecordType3Message update) |
Called when an update to type3 data in a record is received. More... | |
virtual void | RecordUpdated (ISubscription subscription, IPeer peer, IRecordType1Message update) |
Called when an update to type 1 data in a record is received. More... | |
virtual void | StoryUpdated (ISubscription subscription, IPeer peer, IStoryMessage update) |
Called when a story update is received. More... | |
virtual void | SubjectErrorReceived (ISubscription subscription, IPeer peer, ISubjectErrorEvent ev) |
Called when there is an error in a subscription. More... | |
virtual void | SubjectStatusReceived (ISubscription subscription, IPeer peer, ISubjectStatusEvent ev) |
Called when there is a change in the status of a subscription. More... | |
An implementation of Caplin.DataSource.Subscription.ISubscriptionListener containing empty callback methods. you can derivce your implementation of Caplin.DataSource.Subscription.ISubscriptionListener from this class, and override selected callback methods with full implementations as required.
The following example provides an example of overriding the RecordUpdated member and providing a custom implementation.
/remarks>
|
inlinevirtual |
Called when a container update is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The container update. |
The operations on the IContainerMessage are not normalized: The message may contain contradictory messages, for example an add for an element followed by a delete for the same element.
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle container updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when an update to generic data in a message is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The message update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle generic message updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when a news headline update is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The permission update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle news updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when a page update is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The page update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle page updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when when a permission update is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The permission update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle permission updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when an update to type 2 data in a record is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The record update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle type 2 record updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when an update to type3 data in a record is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The record update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle type 3 record updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when an update to type 1 data in a record is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The record update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle type 1 record updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when a story update is received.
subscription | The subscription for which the update occurred. |
peer | The DataSource peer supplying the update. |
update | The story update. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle story updates.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when there is an error in a subscription.
subscription | The subscription for which the error occurred. |
peer | The DataSource peer that sent this subscription error. |
ev | The subscription error. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle subscription errors.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.
|
inlinevirtual |
Called when there is a change in the status of a subscription.
subscription | The subscription for which the error occurred. |
peer | The DataSource peer that sent this change in subscription status. |
ev | The subscription status event. |
You should override this method if you have derived your Caplin.DataSource.Subscription.ISubscriptionListener implementation from BaseSubscriptionListener and want to handle subscription status changes.
Implements Caplin.DataSource.Subscription.ISubscriptionListener.