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
-
Interface Summary Interface Description ActiveSubscription AActiveSubscriptions
represents a subscription to a single subjects.BroadcastSubscription ABroadcastSubscription
represents a subscription to many subjects.SubjectConsumer<T> TheSubjectConsumer
interface allows applications to receive json events raised for a subscription.Subscription Represents a subscription to a namespace of DataSource subjects (seeBroadcastSubscription
).SubscriptionListener TheSubscriptionListener
interface allows applications to receive events raised for aSubscription
.TransformerActiveSub JTM version ofActiveSubscription
.TransformerBroadcastSub JTM version ofBroadcastSubscription
. -
Class Summary Class Description BaseSubscriptionListener A base implementation ofSubscriptionListener
that can be used to easily provideSubscriptionListener
implementations without the need to override every method.