Class TestDemoServer
java.lang.Object
nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
DSOLWebServer.java.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) classHandle in separate thread to avoid 'lock' of the main application.static classAnswer handles the events from the web-based user interface for a demo. -
Field Summary
FieldsModifier and TypeFieldDescriptionthe map of sessionIds to OtsModelInterface that handles the animation and updates for the started model.(package private) final Map<String,OtsWebModel> the map of sessionIds to OTSWebModel that handles the animation and updates for the started model. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sessionModelMap
the map of sessionIds to OtsModelInterface that handles the animation and updates for the started model. -
sessionWebModelMap
the map of sessionIds to OTSWebModel that handles the animation and updates for the started model.
-
-
Constructor Details
-
TestDemoServer
- Throws:
Exception- in case jetty crashes
-
-
Method Details
-
main
Run a SuperDemo OTS Web server.- Parameters:
args- String[]; not used- Throws:
Exception- o Jetty error
-