Package org.opentrafficsim.web.test
Class CircularModelWeb
java.lang.Object
nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
org.opentrafficsim.web.test.CircularModelWeb
- All Implemented Interfaces:
java.util.EventListener
,EventListenerInterface
public class CircularModelWeb extends OTSWebServer
Test4DCrossing.java.
Copyright (c) 2003-2018 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.
Copyright (c) 2003-2018 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/interfaces inherited from class nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
OTSWebServer.XHRHandler
-
Constructor Summary
Constructors Constructor Description CircularModelWeb(java.lang.String title, OTSSimulatorInterface simulator, OTSModelInterface model)
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Methods inherited from class nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
getAnimationPanel, getSimulator, getTitle, notify, setSpeedFactor, startSimulator, stopSimulator
-
Constructor Details
-
CircularModelWeb
public CircularModelWeb(java.lang.String title, OTSSimulatorInterface simulator, OTSModelInterface model) throws java.lang.Exception- Parameters:
title
- String; the tile for the modelsimulator
- DEVSRealTimeClock.TimeDouble; the simulatormodel
- the model- Throws:
java.lang.Exception
- on jetty error
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Parameters:
args
- String[]; arguments, expected to be empty- Throws:
java.lang.Exception
- on error
-