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.



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.

Supported platforms

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

Application technology Caplin DataSource API Requirements
C/C++ DataSource API for C (DSDK) v7 requires the Microsoft Visual C++ 2015 Redistributable 
.NET (C#) DataSource.NET v7 requires the Microsoft Visual C++ 2015 Redistributable and the .NET Framework 4.5
Java DataSource for Java v7 requires Oracle Java 8 

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: