Class EmbeddedService
- java.lang.Object
-
- org.powertac.visualizer.service_ptac.EmbeddedService
-
@Service public class EmbeddedService extends Object
This service runs Power TAC games (sim, boot and replay).- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
-
Constructor Summary
Constructors Constructor Description EmbeddedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeGame()
String
runBootGame(Game game, User user)
String
runReplayGame(InputStream source)
String
runSimGame(Game game, User user)
-
-
-
Method Detail
-
runBootGame
public String runBootGame(Game game, User user) throws org.apache.commons.io.FileExistsException
- Throws:
org.apache.commons.io.FileExistsException
-
runReplayGame
public String runReplayGame(InputStream source)
-
closeGame
public void closeGame()
-
-