public interface CompetitionControl
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBootstrapMode()
True just in case the sim is running in bootstrap mode - generating
bootstrap data.
|
boolean |
isRunning()
True if a simulation (boot or sim) session is currently running.
|
boolean |
loginBroker(String username)
Attempts to log in a broker by username.
|
void |
registerTimeslotPhase(TimeslotPhaseProcessor thing,
int phase)
Registers the caller to be activated during each timeslot in the
proper phase sequence.
|
void |
runOnce(boolean bootstrapMode)
Waits for broker login, then starts and runs a simulation.
|
void |
setAuthorizedBrokerList(List<String> brokerList)
Sets the list of brokers authorized to log in to the next game.
|
void |
shutDown()
Stops a running simulation, and sends out the SimEnd message
to brokers.
|
boolean isBootstrapMode()
void registerTimeslotPhase(TimeslotPhaseProcessor thing, int phase)
boolean loginBroker(String username)
void setAuthorizedBrokerList(List<String> brokerList)
void runOnce(boolean bootstrapMode)
boolean isRunning()
void shutDown()
Copyright © 2017 Power TAC. All rights reserved.