Giter Club home page Giter Club logo

cvtclientcommunication's Issues

Support multiple server instances and reconnecting clients

The current CCC (VIPM 3.0.3.9) doesn't handle multiple server instances (On unique ports) cleanly nor can clients reconnect to the server with differing tag lists configurations.

A very small change can enable this capability simply by recognizing the CVT attempts to optimize read/write groups by caching their configuration based on group names. If the group name changes, CVT will create new groups with new configurations. This, the server needs to provide a means to delete read/write groups on disconnect so that the next connection will create new groups entirely.

Additionally, the client name (IP address + port number) needs a 'session ID' so that the server (STM) properly handles re-connections as entirely new connections.

These changes enable the following capabilities:

  • Multiple servers being queried at differing rates with different read/write tag lists (EX: High speed and low speed).
  • Asynchronous synchronization (Client connect, configure, modify, disconnect). In-efficient, but useful for one-shot transfer of large tags (EX: Flattened structures) that change very infrequently.
  • Adaptable client that uses the asynchronous capability to configure itself to any server (EX: Client first reads an ALL_TAGS structure provided by the server which defines all available tags, their direction, and types. The client can then reconnect using the discovered tags. This is useful for a remote CVT debugger).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.