The DataSource APIs and libraries

You can use the DataSource APIs and their underlying libraries to implement DataSource applications, including Integration Adapters. A DataSource library takes care of the connections to and communications with other DataSource applications, and interacts with the application to accept subscription requests and supply data.

DataSource APIs and Libraries

The DataSource library converts data to and from the DataSource protocol (the common protocol that DataSource applications use to communicate with each other). Because Integration Adapters include the DataSource Library, they can communicate with other DataSource applications in the Caplin Platform and (via Liberator) onward to StreamLink-based client applications. The Java and C-based DataSource applications shown in the diagram above would typically be Integration Adapters.

As the diagram shows, Liberator is also a DataSource application and it uses the DataSource for C API and library to communicate with other DataSource applications.

There’s a DataSource API and underlying library for each of the following application technologies:

Caplin DataSource APIs

Application technology Caplin DataSource API


DataSource API for C (DSDK)

.NET (C#)



DataSource Java API in the Caplin Integration Suite (CIS) for Java.

Each library comes with built-in support for failover to an alternative DataSource instance when connections fail. For more about this, see Failover in the Caplin Platform.

See also: