Class TestDemoServer
- java.lang.Object
 - 
- nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
 
 
- 
public class TestDemoServer extends Object
DSOLWebServer.java.
Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
 - Alexander Verbraeck
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classTestDemoServer.MyResourceHandler(package private) classTestDemoServer.ServerThreadHandle in separate thread to avoid 'lock' of the main application.static classTestDemoServer.XHRHandlerAnswer handles the events from the web-based user interface for a demo. 
- 
Field Summary
Fields Modifier and Type Field Description (package private) Map<String,org.opentrafficsim.core.dsol.OTSModelInterface>sessionModelMapthe map of sessionIds to OTSModelInterface that handles the animation and updates for the started model.(package private) Map<String,OTSWebModel>sessionWebModelMapthe map of sessionIds to OTSWebModel that handles the animation and updates for the started model. 
- 
Constructor Summary
Constructors Constructor Description TestDemoServer() 
 - 
 
- 
- 
Field Detail
- 
sessionModelMap
final Map<String,org.opentrafficsim.core.dsol.OTSModelInterface> sessionModelMap
the map of sessionIds to OTSModelInterface that handles the animation and updates for the started model. 
- 
sessionWebModelMap
final Map<String,OTSWebModel> sessionWebModelMap
the map of sessionIds to OTSWebModel that handles the animation and updates for the started model. 
 - 
 
 -