A B C D F G H I J L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- activate(Instant, int) - Method in class org.powertac.server.WeatherService
- addProperties(Properties) - Method in class org.powertac.server.ServerPropertiesService
-
Adds the properties in props to the current configuration.
- adjustAgentWindow(double) - Method in class org.powertac.server.SimulationClockControl
-
Ensure that the minAgentWindow in msec is the correct portion of the total timeslot time in seconds.
B
- bootSession(String, String, String, String, String, String) - Method in class org.powertac.server.CompetitionSetupService
- bootSession(String, String, String, String, String, String, String) - Method in class org.powertac.server.CompetitionSetupService
-
Starts a boot session with the given arguments.
- broadcastDeferredMessages() - Method in class org.powertac.server.BrokerProxyService
- broadcastMessage(Object) - Method in class org.powertac.server.BrokerProxyService
- broadcastMessages(List<?>) - Method in class org.powertac.server.BrokerProxyService
- BrokerProxyService - Class in org.powertac.server
- BrokerProxyService() - Constructor for class org.powertac.server.BrokerProxyService
C
- checkClockDrift() - Method in class org.powertac.server.SimulationClockControl
-
Compares sim time to sys time, updates start if it's off too much
- CLEAR - org.powertac.server.SimulationClockControl.Status
- CompetitionControlService - Class in org.powertac.server
-
This is the competition controller.
- CompetitionControlService() - Constructor for class org.powertac.server.CompetitionControlService
- CompetitionSetupService - Class in org.powertac.server
-
Manages command-line and file processing for pre-game simulation setup.
- CompetitionSetupService() - Constructor for class org.powertac.server.CompetitionSetupService
-
Standard constructor
- complete() - Method in class org.powertac.server.SimulationClockControl
-
Indicates that the simulator has completed its work on the current timeslot.
- COMPLETE - org.powertac.server.SimulationClockControl.Status
- configureInstances(Class<?>) - Method in class org.powertac.server.ServerPropertiesService
- configureMe(Object) - Method in class org.powertac.server.ServerPropertiesService
- configureNamedInstances(List<?>) - Method in class org.powertac.server.ServerPropertiesService
- createQueue(String) - Method in class org.powertac.server.JmsManagementService
D
- DELAYED - org.powertac.server.SimulationClockControl.Status
F
- finishConfigOutput() - Method in class org.powertac.server.ServerPropertiesService
- forwardMessage(Object) - Method in class org.powertac.server.VisualizerProxyService
G
- getBootstrapState() - Method in class org.powertac.server.ServerPropertiesService
- getBootUrl() - Method in class org.powertac.server.TournamentSchedulerService
- getConfigUrl() - Method in class org.powertac.server.TournamentSchedulerService
- getDoubleProperty(String, Double) - Method in class org.powertac.server.ServerPropertiesService
- getForecastHorizon() - Method in class org.powertac.server.WeatherService
- getGameId() - Method in class org.powertac.server.TournamentSchedulerService
- getInstance() - Static method in class org.powertac.server.SimulationClockControl
-
Returns the instance, which of course will be null if the singleton is not yet initialized.
- getIntegerProperty(String, Integer) - Method in class org.powertac.server.ServerPropertiesService
- getJmsBrokerName() - Method in class org.powertac.server.JmsManagementService
- getJmsBrokerUrl() - Method in class org.powertac.server.JmsManagementService
- getMaxQueueDepth() - Method in class org.powertac.server.JmsManagementService
- getPrefix() - Method in class org.powertac.server.LogService
- getProperty(String) - Method in class org.powertac.server.ServerPropertiesService
- getProperty(String, String) - Method in class org.powertac.server.ServerPropertiesService
- getPublishedConfiguration() - Method in class org.powertac.server.ServerPropertiesService
-
Returns the published configuration as a Properties instance
- getRegistrations(Object) - Method in class org.powertac.server.MessageRouter
-
returns the registrations for the given message
- getServerUrl() - Method in class org.powertac.server.WeatherService
- getServingJms() - Method in class org.powertac.server.JmsManagementService
- getStateLogger() - Method in class org.powertac.server.LogService
- getTournamentSchedulerUrl() - Method in class org.powertac.server.TournamentSchedulerService
- getVisualizerQueueName() - Method in class org.powertac.server.VisualizerProxyService
- getWeatherReqInterval() - Method in class org.powertac.server.WeatherService
H
- handleMessage(BrokerAuthentication) - Method in class org.powertac.server.CompetitionControlService
-
Authenticate Broker.
- handleMessage(PauseRelease) - Method in class org.powertac.server.CompetitionControlService
-
Releases a broker-initiated pause.
- handleMessage(PauseRequest) - Method in class org.powertac.server.CompetitionControlService
-
Allows a broker to request a pause.
- heartbeat(int, String, long) - Method in class org.powertac.server.TournamentSchedulerService
I
- init() - Method in class org.powertac.server.CompetitionControlService
-
Initializes the service in preparation for a new simulation
- initialize(Competition, List<String>) - Method in class org.powertac.server.MessageRouter
- initialize(Competition, List<String>) - Method in class org.powertac.server.VisualizerProxyService
- initialize(Competition, List<String>) - Method in class org.powertac.server.WeatherService
- initialize(CompetitionControlService, TimeService) - Static method in class org.powertac.server.SimulationClockControl
-
Creates the instance and sets the reference to the timeService.
- initializeClientInterface() - Method in class org.powertac.server.JmsManagementService
- initializeServerQueue(String) - Method in class org.powertac.server.JmsManagementService
- inProgress(int) - Method in class org.powertac.server.TournamentSchedulerService
- isActive() - Method in class org.powertac.server.VisualizerProxyService
-
True just in case a remote visualizer has pinged this server
- isBlocking() - Method in class org.powertac.server.WeatherService
- isBootstrapMode() - Method in class org.powertac.server.CompetitionControlService
-
True just in case the sim is running in bootstrap mode
- isRunning() - Method in class org.powertac.server.CompetitionControlService
-
Expose simulation-running flag
- isServingJms() - Method in class org.powertac.server.JmsManagementService
J
- JmsManagementService - Class in org.powertac.server
- JmsManagementService() - Constructor for class org.powertac.server.JmsManagementService
L
- loginBroker(String) - Method in class org.powertac.server.CompetitionControlService
-
Logs in a broker, just in case the broker is on the authorizedBrokerMap.
- LogService - Class in org.powertac.server
-
Support for per-game logging.
- LogService() - Constructor for class org.powertac.server.LogService
M
- main(String[]) - Static method in class org.powertac.server.PowerTacServer
-
Sets up the container, sets up logging, and starts the CompetitionControl service.
- MessageRouter - Class in org.powertac.server
- MessageRouter() - Constructor for class org.powertac.server.MessageRouter
O
- onMessage(Message) - Method in class org.powertac.server.ServerMessageReceiver
- onMessage(TextMessage) - Method in class org.powertac.server.ServerMessageReceiver
- org.powertac.server - package org.powertac.server
P
- pause() - Method in class org.powertac.server.CompetitionControlService
-
Signals that the clock is paused due to server overrun.
- PAUSED - org.powertac.server.SimulationClockControl.Status
- PowerTacServer - Class in org.powertac.server
-
This is the top level of the Power TAC server.
- PowerTacServer() - Constructor for class org.powertac.server.PowerTacServer
- preGame() - Method in class org.powertac.server.CompetitionSetupService
-
Pre-game server setup - creates the basic configuration elements to make them accessible to the web-based game-setup functions.
- processCmdLine(String[]) - Method in class org.powertac.server.CompetitionSetupService
-
Processes command-line arguments, which means looking for the specified script file and processing that
- processQueues() - Method in class org.powertac.server.JmsManagementService
- publishConfiguration(Object) - Method in class org.powertac.server.ServerPropertiesService
R
- ready() - Method in class org.powertac.server.TournamentSchedulerService
- recycle() - Method in class org.powertac.server.MessageRouter
-
Initializes the message listener registrations at the pre-game phase, once per game.
- recycle() - Method in class org.powertac.server.ServerPropertiesService
-
Come here to re-configure from scratch.
- registerBrokerMessageListener(Object, Class<?>) - Method in class org.powertac.server.BrokerProxyService
- registerBrokerMessageListener(Object, Class<?>) - Method in class org.powertac.server.MessageRouter
- registerMessageListener(String, MessageListener) - Method in class org.powertac.server.JmsManagementService
- registerTimeslotPhase(TimeslotPhaseProcessor, int) - Method in class org.powertac.server.CompetitionControlService
-
Allows instances of TimeslotPhaseProcessor to register themselves to be activated during one of the processing phases in each timeslot.
- registerVisualizerMessageListener(VisualizerMessageListener) - Method in class org.powertac.server.VisualizerProxyService
- releasePause() - Method in class org.powertac.server.SimulationClockControl
-
Releases an externally-requested pause.
- requestPause() - Method in class org.powertac.server.SimulationClockControl
-
Serves an external pause request.
- respondToPing() - Method in class org.powertac.server.VisualizerProxyService
- resume(long) - Method in class org.powertac.server.CompetitionControlService
-
Signals that the clock is resumed.
- route(Object) - Method in class org.powertac.server.MessageRouter
- routeMessage(Object) - Method in class org.powertac.server.BrokerProxyService
- runOnce(boolean) - Method in class org.powertac.server.CompetitionControlService
-
Runs a simulation that is already set up.
- runOnce(boolean, boolean) - Method in class org.powertac.server.CompetitionControlService
S
- saveBootstrapState(Object) - Method in class org.powertac.server.ServerPropertiesService
- scheduleTick() - Method in class org.powertac.server.SimulationClockControl
-
Schedules the next tick.
- sendMessage(Broker, Object) - Method in class org.powertac.server.BrokerProxyService
- sendMessages(Broker, List<?>) - Method in class org.powertac.server.BrokerProxyService
- sendResults(String) - Method in class org.powertac.server.TournamentSchedulerService
- ServerMessageReceiver - Class in org.powertac.server
- ServerMessageReceiver() - Constructor for class org.powertac.server.ServerMessageReceiver
- ServerPropertiesService - Class in org.powertac.server
-
Implementation of the ServerProperties and ServerConfiguration interfaces.
- ServerPropertiesService() - Constructor for class org.powertac.server.ServerPropertiesService
-
Default constructor
- setAlwaysAuthorizedBrokers(List<String>) - Method in class org.powertac.server.CompetitionControlService
-
Sets the list of broker usernames that are always authorized, even in bootstrap mode.
- setApplicationContext(ApplicationContext) - Method in class org.powertac.server.ServerPropertiesService
- setAuthorizedBrokerList(List<String>) - Method in class org.powertac.server.CompetitionControlService
-
Sets the list of brokers allowed and expected to log in before starting a simulation.
- setBootstrapTimeslotMillis(long) - Method in class org.powertac.server.CompetitionControlService
-
Allows Spring to set the boostrap timeslot length
- setConfigOutput(String) - Method in class org.powertac.server.ServerPropertiesService
- setDeferredBroadcast(boolean) - Method in class org.powertac.server.BrokerProxyService
- setGameId(String) - Method in class org.powertac.server.TournamentSchedulerService
- setJmsBrokerName(String) - Method in class org.powertac.server.JmsManagementService
- setJmsBrokerUrl(String) - Method in class org.powertac.server.JmsManagementService
- setMaxQueueDepth(long) - Method in class org.powertac.server.JmsManagementService
- setPrefix(String) - Method in class org.powertac.server.LogService
-
Sets the filename prefix.
- setProperty(String, Object) - Method in class org.powertac.server.ServerPropertiesService
-
Changes the value of a property (or adds a property).
- setRemoteVisualizer(boolean) - Method in class org.powertac.server.VisualizerProxyService
- setServingJms(boolean) - Method in class org.powertac.server.JmsManagementService
- setStart(long) - Method in class org.powertac.server.SimulationClockControl
-
Sets the sim clock start time, which in turn gets propagated to the timeService.
- setTimeslotPhaseCount(int) - Method in class org.powertac.server.CompetitionControlService
-
Sets the number of phases into which a timeslot is divided for processing.
- setTournamentSchedulerUrl(String) - Method in class org.powertac.server.TournamentSchedulerService
- setUserConfig(URL) - Method in class org.powertac.server.ServerPropertiesService
- shutDown() - Method in class org.powertac.server.CompetitionControlService
-
Shuts down the simulation and cleans up.
- simSession(String, String, String, String, String, List<String>, String, String, String) - Method in class org.powertac.server.CompetitionSetupService
- simSession(String, String, String, String, String, List<String>, String, String, String, String) - Method in class org.powertac.server.CompetitionSetupService
- SimulationClockControl - Class in org.powertac.server
-
Timer-based clock management for the Power TAC simulator.
- SimulationClockControl.Status - Enum in org.powertac.server
- start() - Method in class org.powertac.server.JmsManagementService
- startLog() - Method in class org.powertac.server.LogService
- startLog(String) - Method in class org.powertac.server.LogService
- startProvider() - Method in class org.powertac.server.JmsManagementService
- stop() - Method in class org.powertac.server.CompetitionControlService
-
Signals the simulation thread to stop after processing is completed in the current timeslot.
- stop() - Method in class org.powertac.server.JmsManagementService
- stop() - Method in class org.powertac.server.SimulationClockControl
-
Stops the clock.
- stopLog() - Method in class org.powertac.server.LogService
- STOPPED - org.powertac.server.SimulationClockControl.Status
- stopProvider() - Method in class org.powertac.server.JmsManagementService
T
- TournamentSchedulerService - Class in org.powertac.server
- TournamentSchedulerService() - Constructor for class org.powertac.server.TournamentSchedulerService
U
- unregisterAllMessageListeners() - Method in class org.powertac.server.JmsManagementService
- unregisterMessageListener(MessageListener) - Method in class org.powertac.server.JmsManagementService
V
- valueOf(String) - Static method in enum org.powertac.server.SimulationClockControl.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.powertac.server.SimulationClockControl.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VisualizerProxyService - Class in org.powertac.server
-
Connects the server with a Visualizer
- VisualizerProxyService() - Constructor for class org.powertac.server.VisualizerProxyService
W
- waitForRemoteViz(long) - Method in class org.powertac.server.VisualizerProxyService
-
Waits at most maxDelay for a remote visualizer to check in with a ping.
- waitForTick(int) - Method in class org.powertac.server.SimulationClockControl
-
Blocks the caller until the next tick.
- waitUntilStop() - Method in class org.powertac.server.SimulationClockControl
- WeatherService - Class in org.powertac.server
- WeatherService() - Constructor for class org.powertac.server.WeatherService
All Classes All Packages