The main feature of this server is the management for reading frequencies through threaded scheduler.
I will describe what should be implemented for this.
How the feature is implemented
A synchronized queue.PriorityQueue object and a task object per each wlm channel.
Once a request reading a frequency is received, the server (main) thread appends a task to the queue.
And whenever a task arrives to the queue, the scheduler thread fetches and executes it.
Read a frequency and create the next task for periodic requests.
Websocket channel for offering frequencies in real time.
As the server is continuously receiving the other requests, we should consider some corner cases for example the measurement is stopped while there are remaining tasks.
Feature you want to implement
The main feature of this server is the management for reading frequencies through threaded scheduler. I will describe what should be implemented for this.
How the feature is implemented