The interfaces within this package provide the functionality of StreamLink.
The interfaces within this package provide the functionality of Triggers and Notifications.
StreamLink is an API that allows an application to exchange real-time financial data and trade messages with Caplin Liberator servers via the Web or other TCP/IP network.
It provides the following capabilities:
It is recommended that you read the Caplin StreamLink Overview to gain understanding of:
The API operates asynchronously. This means that when the client application code
issues a subscription request or a command to StreamLink, the response
is not returned immediately through the method used to issue the request
or command. Instead, you must set up a listener object (
You then supply this listener to StreamLink. StreamLink
calls the appropriate callback method(s) on the listener object
to communicate data and command responses back to the client code.
Much of the StreamLink API is defined as interfaces. You must implement some of the interfaces in order use StreamLink. These implementations effectively integrate StreamLink with your client application. There are also protocols with implementations that are built into the API, so in these cases you do not need to write your own.
Note:The description of each interface states if you must implement it before use.
As a minimum you need to implement the
StreamLink calls your SubscriptionListener implementation to deal with events concerning subscriptions to data.
You should also implement the
ConnectionListener interface if you want to
provide users of your application with information about the state of the connection.
Please send bug reports and comments to Caplin support