Class TestDemoServer

java.lang.Object
nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer

public class TestDemoServer extends Object
DSOLWebServer.java.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck
  • Field Details

    • 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.
  • Constructor Details

    • TestDemoServer

      public TestDemoServer() throws Exception
      Throws:
      Exception - in case jetty crashes
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Run a SuperDemo OTS Web server.
      Parameters:
      args - String[]; not used
      Throws:
      Exception - o Jetty error