RPCSimulator

public class RPCSimulator extends DefaultSimulator

A simulator that is specialized for control by remote procedure calls (RPCs).

Author:Kyle M. Douglass

Constructors

RPCSimulator

public RPCSimulator(Microscope microscope)

Initializes the SimpleSimulator and connects it to the simulation engine.

Parameters:
  • microscope – The engine that runs the simulation.

Methods

getSimulationState

public String getSimulationState()

Returns the simulation’s current state as a JSON-encoded string.

Returns:JSON string containing information about the simulation state.