UpdateStateStrategy

The strategy used to update the application state. This class is mainly used to specify how the application should behave based on the state of the it.unibo.alchemist.boundary.webui.common.model.RenderMode.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun clientComputation()

Update the application state, the client will do most of the computation.

Link copied to clipboard
abstract suspend fun retrieveSimulationStatus()

Retrieve the simulation status from the simulation and update the application state.

Link copied to clipboard
abstract suspend fun serverComputation()

Update the application state, the server will do most of the computation.