InterJob-communication-ZPM

Downloads11
Subscribe
0
Bookmark
2
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Screenshots
Issues

What's new in this version

  • added WebTerminal
  • added Demo Server
  • added Code Quality

Earlier I've written about command pipes.
This is the internal variant of a PIPE.

To make this more tangible and visible for you I prepared a small example
  The scenario is to run a monitoring process that receives
input from an unknown number of sensors.  (Could be Lab equipment or similar.) 

The monitor should not poll his sensors nor run
in a hang loop to scan a common global  and work independently of any disk access.   
To try it log into a terminal 
.    DO ##class(IJC.Demo).%Start()  
The Highlander principle applies for this example: There can only be one  

Next open a new terminal and run
.    DO ##class(IJC.Demo).Sensor("mytext")
and see what happens.

It's clear that for real applications:

  • the monitor might run in a background tasks
  • the sensors will do something useful.
    But this reduces visibility.

Article in DC

Demo Server SMP
Demo Server WebTerminal

Code Quality

ZPM installation
zpm "install ijc-demo"
Rating
4 (1)
ObjectScript quality test
Passed
Updated on 27 November 2022
ObjectScript quality report
Category
Technology Example
Works with
CachéEnsembleInterSystems IRIS
Tags
Info
Version
1.1.0
Last updated
2022-05-16
Repository
Open
Documentation
Open
License
Link