Orchard.SimulatorSupervisor (orchard v0.1.7)

View Source

Supervisor for managing SimulatorServer processes.

This supervisor uses a dynamic supervisor pattern to start and stop SimulatorServer processes on demand.

Summary

Functions

Returns a specification to start this module under a supervisor.

Finds a simulator server by UDID.

Lists all active simulator servers.

Starts a new SimulatorServer for the given simulator.

Stops the SimulatorServer for the given UDID.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

find_simulator(udid)

Finds a simulator server by UDID.

list_active_simulators()

Lists all active simulator servers.

start_link(init_arg)

start_simulator(simulator_info)

Starts a new SimulatorServer for the given simulator.

stop_simulator(udid)

Stops the SimulatorServer for the given UDID.