Package org.opentrafficsim.demo.web
Class SuperDemoWebApplication
java.lang.Object
org.opentrafficsim.demo.web.SuperDemoWebApplication
- All Implemented Interfaces:
 Checkable
public class SuperDemoWebApplication extends java.lang.Object implements Checkable
Copyright (c) 2002-2014 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved.
See for project information www.simulation.tudelft.nl.
 The DSOL project is distributed under a BSD-style license.
- Version:
 - Aug 15, 2014 
 - Author:
 - Alexander Verbraeck
 
- 
Constructor Summary
Constructors Constructor Description SuperDemoWebApplication() - 
Method Summary
Modifier and Type Method Description voidcheck()protected voidinit()Construct a console application.static voidmain(java.lang.String[] args)protected voidstartListener()Start listening on a port.protected voidterminate()stop the simulation. 
- 
Constructor Details
- 
SuperDemoWebApplication
public SuperDemoWebApplication() 
 - 
 - 
Method Details
- 
check
public void check() throws java.lang.Exception - 
init
protected void init() throws SimRuntimeException, javax.naming.NamingException, Sim0MQException, SerializationException, java.io.IOExceptionConstruct a console application.- Throws:
 SimRuntimeException- on errorjavax.naming.NamingException- on errorSim0MQException- on errorSerializationException- on serialization problemjava.io.IOException- when TRAFCOD file cannot be found
 - 
startListener
Start listening on a port.- Throws:
 Sim0MQException- on errorSerializationException- on serialization problem
 - 
terminate
protected final void terminate()stop the simulation. - 
main
public static void main(java.lang.String[] args) throws SimRuntimeException, javax.naming.NamingException, Sim0MQException, SerializationException, java.io.IOException- Parameters:
 args- contain e.g., port number, and a model to run: SuperDemoWebpplication --port=8080 -m TJunctionDemo.- Throws:
 SimRuntimeException- on errorjavax.naming.NamingException- on errorSim0MQException- on errorSerializationException- on serialization problemjava.io.IOException- when TRAFCODDEMO file cannot be found
 
 -