Skip to content

1.1 Server

simoneengelbr edited this page Jun 11, 2020 · 4 revisions

The server was designed and implemented by baaabuuu and Christian Herreborg and originates from the nwaDTUBackend project.

The server is written in Java and has the following overall architecture:

A more detailed class diagram is included at the bottom of this page.

Upon startup, the program follows the flow illustrated by the graph below:

Flow of server program. Image credit: baaabuuu

The database is read from locally generated files. The files are generated by running SetupExample.testing().

Database design. Image credit: baaabuuu

The process of receiving and responding to a massage is illustrated in the section 1.3 System Communication. The pseudocode for the message process is displayed below along with the process checking if alarms should be sent.

Message processing pseudocode Alarm processing pseudocode

Image credit: baaabuuu

Detailed class diagram:

Clone this wiki locally