Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

SmartWeb server implements  both Request-Response and Publish-Subscribe communication through the following interface:

  1. REST API realizes Request - Response communication
  2. Comet API realizes both Request-Response and Publish-Subscribe communication
  3. ODATA API is a specialized Request-Response API defined by the Open Data Protocol standard. Currently, this API is adapted to the ability to read historical values and EDA vectors to the Azure Cloud through the Azure Data Factory cloud integration platform.

All interfaces communicate with the D2000 system and with the EDA server through the Both interfaces communicate with the D2000 system through JAPI library.

Rest API

Rest API is a standard API for web and mobile applications. The SmartWeb Rest API offers the following possibilities:  

...

  • subscription of D2000 objects
  • registration of javascript RPC asynchronously calling from D2000
  • notifications about the session from the SmartWeb server (expiration, session expiration)

The SmartWeb Comet API is implemented through the cometd library which library whose robust functionality is certified based on solutions with 150 thousand users. Among the advantages of this library belongare:

  • intelligent choice of optimal communication protocol based on actual connection possibilities - Websocket, HTTP 1.1/2.0
  • connection implementable in any language - open specification
  • low payload for keeping the connection