Class TestDemoServer


  • public class TestDemoServer
    extends java.lang.Object
    DSOLWebServer.java.

    Copyright (c) 2003-2020 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
      static class  TestDemoServer.XHRHandler
      Answer handles the events from the web-based user interface for a demo.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestDemoServer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Run a SuperDemo OTS Web server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestDemoServer

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

      • main

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