Class OTSDemoServer

java.lang.Object
org.opentrafficsim.demo.web.OTSDemoServer
All Implemented Interfaces:
Checkable

public class OTSDemoServer
extends java.lang.Object
implements Checkable
OTSDemoServer.java.

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

    Constructors 
    Constructor Description
    OTSDemoServer()
    Constructor to set any variables to default values if needed.
  • Method Summary

    Modifier and Type Method Description
    void check()
    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 Details

    • OTSDemoServer

      public OTSDemoServer()
      Constructor to set any variables to default values if needed.
  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.lang.Exception
      Run a SuperDemo OTS Web server.
      Parameters:
      args - String[]; param=value style parameters. Used: maxProcesses=20 maxTimeMinutes=30
      Throws:
      java.lang.Exception - on Jetty error
    • check

      public void check() throws java.lang.Exception
      Specified by:
      check in interface Checkable
      Throws:
      java.lang.Exception