Package org.opentrafficsim.web.test
Class TJunctionDemo
java.lang.Object
nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
org.opentrafficsim.web.test.TJunctionDemo
- All Implemented Interfaces:
Serializable
,Remote
,EventListener
,org.djutils.event.EventListener
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, Peter Knoppers, Wouter Schakel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
OtsWebServer.XHRHandler
-
Constructor Summary
ConstructorDescriptionTJunctionDemo
(String title, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, org.opentrafficsim.core.dsol.OtsModelInterface model) Create a T-Junction demo. -
Method Summary
Methods inherited from class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
getAnimationPanel, getSimulator, getTitle, notify, setSpeedFactor, startSimulator, stopSimulator
-
Constructor Details
-
TJunctionDemo
public TJunctionDemo(String title, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, org.opentrafficsim.core.dsol.OtsModelInterface model) throws Exception Create a T-Junction demo.- Parameters:
title
- String; the tile for the modelsimulator
- DevsRealTimeAnimator.TimeDouble; the simulatormodel
- the model- Throws:
Exception
- on jetty error
-
-
Method Details
-
main
Start the demo.- Parameters:
args
- args- Throws:
Exception
- on error
-