Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.35 KB

readme.md

File metadata and controls

45 lines (29 loc) · 1.35 KB

DXFeed CometD Client

Abilities

The project can connect and keep connection with dxFeed CometD server and allows to subscribe for quotes and candle histories.

Purpose

The project is a model of architecture of a dxfeed cometD based client which relies only at pure websocket API and json serialization provided by the platform.

The project is made as a part of research for ForexConnect Lite API.

Structure

There are one main class DXFeedConnection (see more) and three "sub-packages":

  • Platform that provides a Websocket and Json serialization API see more
  • Message that provides a tree-like name-value message structure for CometD see more
  • DXFeedMessage that provides dxfeed CometD messages see more

The relationship between the main class and packages is shown on the diagram below:

classDiagram

class IDXFeedConnection
<<interface>> IDXFeedConnection

class Platform
<<package>> Platform

class Message
<<package>> Message

class DXFeedMessage
<<package>> DXFeedMessage

DXFeedConnection --|> IDXFeedConnection
DXFeedConnection ..> Platform : uses
DXFeedConnection ..> Message : uses
DXFeedConnection ..> DXFeedMessage : uses
Platform ..> Message : uses
DXFeedMessage ..> Message : uses
Loading