DataSource for C SDK  8.0.3.290770-7760911e
Info: About DataSource Applications

A DataSource application performs two basic tasks:

  • it converts incoming data from data providers into a format suitable for distribution to other DataSource applications;
  • it transmits the data using the DataSource protocol to any DataSource applications that have requested it.

The figure below shows how a DataSource applications fits into a real-time data system.

datasrc.gif
Basic Operation

Your application contains values that need to be contributed. To be able to do this, DataSource SDK runtime libraries need to be included as a component within your application.

In order to contribute these values, you need to use the C functions provided by the DataSource library to create a data object and add the values to the object or objects. The object can then be forwarded to where it needs to be, whether it is a Caplin Liberator for distribution over the Internet, or another DataSource for aggregation of data.

Broadcast DataSources

A broadcast DataSource is the simplest type of DataSource. It sends all object and updates to all connected peers. If a broadcast DataSource is chosen then when an update is received from the data provider a simple process can be followed to send this data on to connected peers

Active DataSources

An active DataSource accepts requests for objects, keeps track of which objects have been requested and only sends updates for those objects. Objects may be discarded as well as requested. Discarding is when a connected peer tells DataSource that it no longer wishes to receive updates for this object. Request and discard messages are tracked using your implementation of the ds5_dataprovider_t interface.

The following steps should be followed to provide data using an active DataSource:


Generated on Wed Jul 31 2024 16:32:49 for DataSource for C SDK