Redirecting node requests
When the ConcentratorServer object is instantiated, it creates its own SensorServer and ControlServer instances. There is no need to instantiate these separately. When a request is received on these objects, it checks that the request is properly made, and that references, data sources and nodes exist, and are correctly defined.
If a sensor data request is received, for instance, the ConcentratorServer object checks that the node exists and that it implements the ISensor interface. If the IsReadable property is true, it proceeds by calling the StartReadout method, defined by ISensor, on the node. Similarly, if a control operation is received, the ConcentratorServer object checks that the node implements the IActuator ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access