org.powertac.server
Class PowerTacServer

java.lang.Object
  extended by org.powertac.server.PowerTacServer

public class PowerTacServer
extends Object

This is the top level of the Power TAC server.

Author:
John Collins

Constructor Summary
PowerTacServer()
           
 
Method Summary
static void main(String[] args)
          Sets up the container, sets up logging, and starts the CompetitionControl service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerTacServer

public PowerTacServer()
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 ...
where

boot-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.
To use a configuration file, simply give the filename as a command-line argument.



Copyright © 2011 Power TAC. All Rights Reserved.