com.workflowfm.proter.akka

Type members

Classlikes

case
class AkkaManager(manager: ActorRef, timeout: Timeout) extends Manager

Akka-based Manager implementation.

Akka-based Manager implementation.

Delegates all interaction to an actor via messaging.

Value Params
manager

The ActorRef of the actor.

timeout

A timeout for all ask operations.

Companion
object
Companion
class
class AkkaSimulationGenerator(gen: SimulationGenerator)(using system: ActorSystem) extends SimulationRefGenerator

Wrapper for SimulationGenerator such that produces AkkaSimulationRef.

Wrapper for SimulationGenerator such that produces AkkaSimulationRef.

Value Params
gen

The underlying SimulationGenerator to use.

Companion
object
case
class AkkaSimulationRef(simName: String, simulation: ActorRef) extends SimulationRef

Akka-based SimulationRef implementation.

Akka-based SimulationRef implementation.

Delegates all interaction to an actor via messaging.

Value Params
simName

The name of the simulation.

simulation

The ActorRef of the actor.

Companion
object
Companion
class
class CoordinatorActor(scheduler: Scheduler, startingTime: Long)(using actorSystem: ActorSystem) extends Actor

Actor wrapper for Coordinator.

Actor wrapper for Coordinator.

Provides access to all functionality via messaging.

Value Params
scheduler

The Scheduler responsible for task allocation at any given time.

startingTime

The starting timestamp of the entire simulation.

Companion
object
class SimulationActor(val simulation: Simulation) extends SimulationRefActor with Actor

Actor wrapper for a given Simulation.

Actor wrapper for a given Simulation.

Provides access to all functionality via messaging.

Value Params
simulation

The simulation to wrap inside an actor.

Companion
object

Defines the messages a SimulationActor can receive by default.

Defines the messages a SimulationActor can receive by default.

Companion
class
class SimulationRefActor(val simulationRef: SimulationRef) extends Actor

Actor wrapper for a given SimulationRef.

Actor wrapper for a given SimulationRef.

Provides access to all functionality via messaging.

Value Params
simulation

The simulation reference to wrap inside an actor.

Companion
object

Defines the messages a SimulationRefActor can receive by default.

Defines the messages a SimulationRefActor can receive by default.

Companion
class