A B C F G I J L M O P R S V W

A

activate(Instant, int) - Method in class org.powertac.server.WeatherService
 

B

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

CompetitionControlService - Class in org.powertac.server
This is the competition controller.
CompetitionControlService() - Constructor for class org.powertac.server.CompetitionControlService
 
complete() - Method in class org.powertac.server.SimulationClockControl
Indicates that the simulator has completed its work on the current timeslot.
createQueue(String) - Method in class org.powertac.server.JmsManagementService
 

F

forwardMessage(Object) - Method in class org.powertac.server.VisualizerProxyService
 

G

getDoubleProperty(String, Double) - Method in class org.powertac.server.ServerPropertiesService
 
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
 
getMarketRegistrations() - Method in class org.powertac.server.MessageListenerRegistrar
 
getProperty(String) - Method in class org.powertac.server.ServerPropertiesService
 
getProperty(String, String) - Method in class org.powertac.server.ServerPropertiesService
 
getSimRegistrations() - Method in class org.powertac.server.MessageListenerRegistrar
 
getStateLogger() - Method in class org.powertac.server.LogService
 
getTariffRegistrations() - Method in class org.powertac.server.MessageListenerRegistrar
 

I

init() - Method in class org.powertac.server.CompetitionControlService
Runs the initialization process, starts the simulation thread, waits for it to complete, then shuts down and prepares for the next simulation run.
init(PluginConfig) - 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.
initialize(Competition, List<String>) - Method in class org.powertac.server.WeatherService
 
initializeBrokersQueues(String[]) - Method in class org.powertac.server.JmsManagementService
 
initializeServerQueue(String) - Method in class org.powertac.server.JmsManagementService
 
isBootstrapMode() - Method in class org.powertac.server.CompetitionControlService
True just in case the sim is running in bootstrap mode

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 authorizedBrokerList.
LogService - Class in org.powertac.server
Support for per-game logging.
LogService() - Constructor for class org.powertac.server.LogService
 
LogService(String) - 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.
MessageListenerRegistrar - Class in org.powertac.server
 
MessageListenerRegistrar() - Constructor for class org.powertac.server.MessageListenerRegistrar
 
MessageRouter - Class in org.powertac.server
 
MessageRouter() - Constructor for class org.powertac.server.MessageRouter
 

O

onMessage(Message) - 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.
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.CompetitionControlService
Pre-game server setup - creates the basic configuration elements to make them accessible to the web-based game-setup functions.
preGame(File) - Method in class org.powertac.server.CompetitionControlService
Sets up the simulator, with config overrides provided in a file containing a sequence of PluginConfig instances.

R

receiveMessage(PauseRequest) - Method in class org.powertac.server.CompetitionControlService
Allows a broker to request a pause.
receiveMessage(PauseRelease) - Method in class org.powertac.server.CompetitionControlService
Releases a broker-initiated pause.
receiveMessage(BrokerAuthentication) - Method in class org.powertac.server.CompetitionControlService
Authenticate Broker.
receiveMessage(Object) - Method in class org.powertac.server.CompetitionControlService
 
registerBrokerMarketListener(BrokerMessageListener) - Method in class org.powertac.server.BrokerProxyService
 
registerBrokerMarketListener(BrokerMessageListener) - Method in class org.powertac.server.MessageListenerRegistrar
 
registerBrokerTariffListener(BrokerMessageListener) - Method in class org.powertac.server.BrokerProxyService
 
registerBrokerTariffListener(BrokerMessageListener) - Method in class org.powertac.server.MessageListenerRegistrar
 
registerMessageListener(String, MessageListener) - Method in class org.powertac.server.JmsManagementService
 
registerSimListener(BrokerMessageListener) - Method in class org.powertac.server.BrokerProxyService
 
registerSimListener(BrokerMessageListener) - Method in class org.powertac.server.MessageListenerRegistrar
 
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.
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() - Method in class org.powertac.server.CompetitionControlService
Runs a simulation that is already set up.
runOnce(File) - Method in class org.powertac.server.CompetitionControlService
Loads a bootstrap dataset, starts a simulation
runOnce(Writer) - Method in class org.powertac.server.CompetitionControlService
Runs a bootstrap sim, saves the bootstrap dataset in a file

S

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
 
ServerMessageReceiver - Class in org.powertac.server
 
ServerMessageReceiver() - Constructor for class org.powertac.server.ServerMessageReceiver
 
ServerPropertiesService - Class in org.powertac.server
Implementation of the ServerProperties interface.
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.CompetitionControlService
 
setAuthorizedBrokerList(ArrayList<String>) - Method in class org.powertac.server.CompetitionControlService
Sets the list of brokers allowed and expected to log in before starting a simulation.
setBootstrapDiscardedTimeslots(int) - Method in class org.powertac.server.CompetitionControlService
Sets the number of timeslots to discard at the beginning of a bootstrap run.
setBootstrapTimeslotMillis(long) - Method in class org.powertac.server.CompetitionControlService
Allows Spring to set the boostrap timeslot length
setDefaults() - Method in class org.powertac.server.WeatherService
 
setDeferredBroadcast(boolean) - Method in class org.powertac.server.BrokerProxyService
 
setPrefix(String) - Method in class org.powertac.server.LogService
Sets the filename prefix.
setStart(long) - Method in class org.powertac.server.SimulationClockControl
Sets the sim clock start time, which in turn gets propagated to the timeService.
setUserConfig(String) - Method in class org.powertac.server.ServerPropertiesService
 
SimulationClockControl - Class in org.powertac.server
Timer-based clock management for the Power TAC simulator.
SimulationClockControl.Status - Enum in org.powertac.server
 
startLog(String) - Method in class org.powertac.server.LogService
 
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.SimulationClockControl
Stops the clock.
stopLog() - Method in class org.powertac.server.LogService
 

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
 
VisualizerProxyService() - Constructor for class org.powertac.server.VisualizerProxyService
 

W

waitForTick(int) - Method in class org.powertac.server.SimulationClockControl
Blocks the caller until the next tick.
WeatherService - Class in org.powertac.server
 
WeatherService() - Constructor for class org.powertac.server.WeatherService
 

A B C F G I J L M O P R S V W

Copyright © 2011 Power TAC. All Rights Reserved.