Package com.caplin.datasource.subscription
package com.caplin.datasource.subscription
Defines the interfaces and classes that are used by a Java DataSource application when it needs to subscribe to data provided by another DataSource application.
The BroadcastSubscription
interface represents a
subscription to all subjects that fall within a specified namespace, allowing the DataSource
application to receive all incoming updates for subjects that match that namespace.
Note: Active subscriptions, that is subscriptions to a specific subject, are not currently
-
ClassDescriptionA
ActiveSubscriptions
represents a subscription to a single subjects.A base implementation ofSubscriptionListener
that can be used to easily provideSubscriptionListener
implementations without the need to override every method.ABroadcastSubscription
represents a subscription to many subjects.TheSubjectConsumer
interface allows applications to receive json events raised for a subscription.Represents a subscription to a namespace of DataSource subjects (seeBroadcastSubscription
).TheSubscriptionListener
interface allows applications to receive events raised for aSubscription
.