DataHub API
The DataHub APIs are a fully open set of application development interfaces that allow you to connect custom programs to the Cogent DataHub in Windows and Cascade DataHub in Linxu and QNX. These APIs are provided with both object code and source code examples and set out a very simple set of commands that allow you to both read and write data to the DataHub.


.NET, C++, Java and C APIs
There are four Cogent APIs, grouped as:
  • The DataHub APIs for C++, Java, and .NET in Windows
  • The Cogent C API and C++ API for Linux and QNX systems
DataHub APIs for Windows
The DataHub API for C++ lets you write programs in C++ that connect to the DataHub over TCP, namely LAN, WAN, or the Internet.

The DataHub API for Java lets you write programs in Java that connect to the DataHub over TCP, namely LAN, WAN, or the Internet. In addition, it lets you create web browser applications that receive and display live data from the DataHub.

The DataHub API for .NET lets you write programs in .NET that connect to the DataHub over TCP, namely LAN, WAN, or the Internet. This API is implemented in C#, but can be used with any .NET language.

DataHub APIs for Linux and QNX
The Cogent C API lets you write high-speed clients that can interact with the Cascade DataHub and other Cogent programs for Linux and QNX. It works in Linux, QNX 6, and QNX 4. Interprocess communication relies on Send/Receive/Reply message passing. In Linux, this is supported by Cogent's SRR Module. In QNX, this is supported by QNX's own Send/Receive/Reply protocol.

The DataHub C++ API is also provided in the Cogent C API archive, but this API is only supported under Linux and QNX 6.

More information For more information on the various DataHub and Cogent APIs, please view our online documentation here.