Package org.powertac.server
Class PowerTacServer
- java.lang.Object
-
- org.powertac.server.PowerTacServer
-
public class PowerTacServer extends Object
This is the top level of the Power TAC server.- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description PowerTacServer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Sets up the container, sets up logging, and starts the CompetitionControl service.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Sets up the container, sets up logging, and starts the CompetitionControl service.A simple script file can be used in lieu of a web interface to configure and run games. Each line in the file must be in one of two forms:
bootstrap [--config boot-config]
sim [--config sim-config] broker1 broker2 ...
whereboot-config- is the optional name of a properties file that specifies the bootstrap setup. If not provided, then the default server.properties will be used.
sim-config- is the optional name of a properties file that specifies the simulation setup. If not provided, then the default server.properties file will be used. It is possible for the sim-config to be different from the boot-config that produced the bootstrap data file used in the sim, but many properties will be carried over from the bootstrap session regardless of the contents of sim-config.
brokern- are the broker usernames of the brokers that will be logged in before the simulation starts. They must attempt to log in after the server starts.
-
-