Class 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
    • 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.
    • Constructor Detail

      • TestDemoServer

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

      • 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