All Classes and Interfaces
Class
Description
A
ActiveSubscriptions
represents a subscription to a single subjects.
A base implementation of
SubscriptionListener
that can be used to
easily provide SubscriptionListener
implementations without the need to override
every method.
This implementation of
Publisher
sends (broadcasts) updates to all connected peers
regardless of whether they have requested (subscribed to) the subject.
A
BroadcastSubscription
represents a subscription to many subjects.
A message factory is used to create cached DataSource messages that can be published to other
DataSources.
Interface that must be implemented in order to provide data updates to DataSource peers for cached objects.
An instance of
CachingPublisher
publishes messages to remote DataSource peers on behalf of
a CachingDataProvider
.Channel
s provide a bi-directional communication mechanism between StreamLink clients
and DataSource applications.
Interface that must be implemented in order to perform bi-directional communication with a
StreamLink client.
This implementation of
Publisher
is similar to
ActivePublisher
, but because it does not maintain a
cache, it passes all requests and discards for subjects on to the
DataProvider
.Interface to extra configuration values that can be specified programmatically.
This interface allows applications to receive events about the state of DataSource for Java's
connection to other DataSource peers.
An instance of
ContainerMessage
represents an update to a container.
This interface defines a model that represents a container.
Interface that represents a container operation.
Interface that must be implemented in order to provide data updates to DataSource peers.
This is the main interface of DataSource for Java.
This interface allows public access to values inside a DataSource configuration file.
Event that is raised when a peer discards a subject.
Extends
DSData
to provide helper methods for sending Container objects.This interface should be implemented by a class that needs to send
data to DataSource peers (for example, a Caplin Liberator, or another
DataSource-enabled application).
This interface should be implemented by a class that represents a
field number/value pair.
Extends
DSData
to provide helper methods for sending News.Deprecated.
The base interface for any DataSource packet that can be sent to peers.
The interface that should be implemented by an instance of
DSPage
of the type page.Extends
DSData
to provide helper methods for sending Permissions.The interface that should be implemented by an instance of DSData
of the type record.
A
DSSerializable
implementation represents a DataSource
message.Sends a user-defined status message about a particular object.
Extends
DSData
to provide helper methods for sending News Stories.
Represents a name/value field pair.
This interface allows access to fields name and numbers configured in
fields.conf files.
This interface allows access to fields name and numbers configured in
fields.conf files.
Interface for sending Generic messages, adding fields by name and value.
Represents a JSON channel to a subject on the Liberator.
Interface that must be implemented in order to perform bi-directional communication with a
StreamLink client.
Provides an interface for receiving JSON Channel messages in an
JsonChannel
to allow json communication while avoiding having to deal with additional metadata contained in the packet.Handler for parsing, patching and serializing Objects to JSON
Interface for sending JSON messages.
Interface for sending MappingMessages.
A
Message
represents a DataSource message containing an update to an existing
subject or a complete image of it.
A message factory is used to create DataSource messages that can be published to other
DataSources.
This class defines all the types of Message types that are supported
by DataSource.
A
Namespace
is used to determine if a subject is of interest to an
DataProvider
.
An instance of
NewsMessage
defines the headline text that provides a brief
description of a news story (see StoryMessage
).
Interface that represents an update to a region of a Page.
An instance of
PageMessage
represents updates to a Page subject.
Represents a DataSource peer.
Enumeration that defines the states of a DataSource Peer.
Event raised when a peer changes status.
Interface that represents a Permission message.
The prefix namespace matches the initial part of a subject name.
An instance of
Publisher
publishes messages to remote DataSource peers on behalf of
a DataProvider
.
Base interface for all Record messages.
Interface for sending Type 1 Record messages, adding fields by field name.
Interface for populating Type 2 Record messages, adding fields by field name.
Interface for populating Type 3 Record messages, adding fields by field name.
The
RegexNamespace
matches a subject based on one or more regex patterns.
Event that is raised when a peer requests a subject.
This describes a service that this DataSource provides.
The minimum state peers for this service must be in for Liberator to begin accepting client connections.
Dictates the style of data publication supported by this service and how subscriptions should be re-balanced on
peer connection and disconnection.
Represents an event that is raised when there is a change in the status of the backend.
An instance of
StoryMessage
represents a news story.
The
SubjectConsumer
interface allows applications to receive json events raised for
a subscription.Enumeration that defines the possible types of subject error.
Represents an event raised when there is an error in a subscription to a subject.
Enumeration that defines the status values that a subject can have.
Represents an event that is raised when there is a change in the status of a subject.
Represents a subscription to a namespace of DataSource subjects (see
BroadcastSubscription
).
The
SubscriptionListener
interface allows applications to receive events raised for
a Subscription
.
Interface for wrapping multiple messages of the same type together into one message.
SubjectErrorEvent