page6
Design
- specify public interface
- specify internal data
- specify RT actions
We start with providing the definition of the needed data-containers. Just add all missing elements, like shown in the picture.
(right-click-->add-child)
The random-number itself is stored as “acquisition” data, since we want to send it to the client.
The maximum number which can be generated shall be configurable by the client. So we choose to store it as “setting”-data.
Click on each element to view the html-documentation in the browser!
Now we will start to fill our empty class-design. The goal is to design
a class which generates one random number per second.