Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
A
activate(Instant, int)
- Method in class org.powertac.server.
WeatherService
B
bootSession(String, String, String)
- Method in class org.powertac.server.
CompetitionSetupService
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
canConvert(Class)
- Method in class org.powertac.server.
WeatherService.WeatherForecastConverter
canConvert(Class)
- Method in class org.powertac.server.
WeatherService.WeatherReportConverter
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.
configureInstances(Class<?>)
- Method in class org.powertac.server.
ServerPropertiesService
configureMe(Object)
- Method in class org.powertac.server.
ServerPropertiesService
createQueue(String)
- Method in class org.powertac.server.
JmsManagementService
F
forwardMessage(Object)
- Method in class org.powertac.server.
VisualizerProxyService
G
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
getEnergyReports()
- Method in class org.powertac.server.
WeatherService.Data
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
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 string
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
getWeatherForecasts()
- Method in class org.powertac.server.
WeatherService.Data
getWeatherLocation()
- Method in class org.powertac.server.
WeatherService
getWeatherReports()
- Method in class org.powertac.server.
WeatherService.Data
getWeatherReqInterval()
- Method in class org.powertac.server.
WeatherService
H
handleMessage(PauseRequest)
- Method in class org.powertac.server.
CompetitionControlService
Allows a broker to request a pause.
handleMessage(PauseRelease)
- Method in class org.powertac.server.
CompetitionControlService
Releases a broker-initiated pause.
handleMessage(BrokerAuthentication)
- Method in class org.powertac.server.
CompetitionControlService
Authenticate Broker.
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(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.
VisualizerProxyService
initialize(Competition, List<String>)
- Method in class org.powertac.server.
WeatherService
initializeClientInterface()
- Method in class org.powertac.server.
JmsManagementService
initializeServerQueue(String)
- Method in class org.powertac.server.
JmsManagementService
inProgress()
- 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
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.
marshal(Object, HierarchicalStreamWriter, MarshallingContext)
- Method in class org.powertac.server.
WeatherService.WeatherForecastConverter
marshal(Object, HierarchicalStreamWriter, MarshallingContext)
- Method in class org.powertac.server.
WeatherService.WeatherReportConverter
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.
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.
preGame(URL)
- Method in class org.powertac.server.
CompetitionSetupService
Sets up the simulator, with config overrides provided in a file containing a sequence of PluginConfig instances.
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.
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.
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 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
setDefaults()
- Method in class org.powertac.server.
MessageRouter
Initializes the message listener registrations at the pre-game phase, once per game.
setDefaults()
- Method in class org.powertac.server.
VisualizerProxyService
setDefaults()
- Method in class org.powertac.server.
WeatherService
setDeferredBroadcast(boolean)
- Method in class org.powertac.server.
BrokerProxyService
setEnergyReports(List<WeatherService.EnergyReport>)
- Method in class org.powertac.server.
WeatherService.Data
setGameId(int)
- 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
setWeatherForecasts(List<WeatherForecastPrediction>)
- Method in class org.powertac.server.
WeatherService.Data
setWeatherLocation(String)
- Method in class org.powertac.server.
WeatherService
setWeatherReports(List<WeatherReport>)
- Method in class org.powertac.server.
WeatherService.Data
shutDown()
- Method in class org.powertac.server.
CompetitionControlService
Shuts down the simulation and cleans up.
simSession(String, String, String, String, List<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(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
stopProvider()
- Method in class org.powertac.server.
JmsManagementService
T
TournamentSchedulerService
- Class in
org.powertac.server
TournamentSchedulerService()
- Constructor for class org.powertac.server.
TournamentSchedulerService
U
unmarshal(HierarchicalStreamReader, UnmarshallingContext)
- Method in class org.powertac.server.
WeatherService.WeatherForecastConverter
unmarshal(HierarchicalStreamReader, UnmarshallingContext)
- Method in class org.powertac.server.
WeatherService.WeatherReportConverter
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
WeatherService.Data
- Class in
org.powertac.server
WeatherService.Data()
- Constructor for class org.powertac.server.
WeatherService.Data
WeatherService.WeatherForecastConverter
- Class in
org.powertac.server
WeatherService.WeatherForecastConverter()
- Constructor for class org.powertac.server.
WeatherService.WeatherForecastConverter
WeatherService.WeatherReportConverter
- Class in
org.powertac.server
WeatherService.WeatherReportConverter()
- Constructor for class org.powertac.server.
WeatherService.WeatherReportConverter
A
B
C
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012
Power TAC
. All Rights Reserved.