Skip to main content

Ports, services and protocols

All FairCom products provide multiple services that communicate using various protocols on TCP/IP ports. You can configure ports and services to communicate using specified protocols.

The services include web applications and APIs, which support SQL, JSON commands, ISAM, and so forth.

Each service is provided by a plugin or a built-in library.

  • A plugin is a dynamic library (dll, so, or dylib) that the FairCom server optionally loads at startup. For information about configuring plugins and the ports they use, see Manage plug-ins.

  • Built-ins are permanent core API services that also use dynamic libraries that are provided by the server.

A plugin or a built-in can provide one or more services. Each service has a specific function, such as supporting an API like the JSON Action API, connecting to a protocol like OPC UA, or transforming data.

The FairCom server enables mapping protocols to communication ports and services. The server listens on many ports to a variety of protocols and sends incoming traffic to multiple services — for example, MQTT clients can connect to the FairCom Edge server and communicate using different protocols, such as MQTT, MQTTS, WS, and WSS. Clients using JSON can connect to a FairCom server using protocols such as HTTP, HTTPS, WS, WSS, MQTT, and MQTTS to access the jsonAction functions.

Some services (such as SQL, jsonAction, and ISAM) use the same communication pattern, such as the request/response pattern, and perform the same functions, such as querying, inserting, updating, and deleting records. Since these services work equally well across multiple communication protocols, like WS, WSS, HTTP, HTTPS, TCP/IP, and Shared Memory, the SQL, ISAM, and JSON Action API can potentially run with any of these communication protocols. For example, in FairCom DB, the ISAM service is available over TCP/IP and Shared Memory. This makes choosing communication protocols and services a matter of client preference.

Would you like to provide feedback?