JobGenerator

object JobGenerator extends Generator
class Generator
class Process
class Object
trait Matchable
class Any

Type members

Inherited classlikes

case object Generate

The signal sent to self each time a new output is generated.

The signal sent to self each time a new output is generated.

Inherited from
Generator

Value members

Concrete methods

Inherited methods

final def lastSender: Process

The process that sent the last signal, uninitialized until first receive.

The process that sent the last signal, uninitialized until first receive.

Inherited from
Process
def name: String

Override this method if you want a custom name and not the class name.

Override this method if you want a custom name and not the class name.

Inherited from
Process
final def now: Stamp

The current simulation time.

The current simulation time.

Inherited from
Process
override def receive(input: Signal): Unit

Called by simulation context to send output at nextDuration.

Called by simulation context to send output at nextDuration.

Definition Classes
Inherited from
Generator
final def send(output: Signal, dest: Process, delay: Duration): Unit

Send output to this or another process. Will happen at now + delay.

Send output to this or another process. Will happen at now + delay.

Inherited from
Process
override def start(): Unit

Send Generate to get things going. Call it before simulation starts.

Send Generate to get things going. Call it before simulation starts.

Definition Classes
Inherited from
Generator
override def toString: String

A string representation of this instance including name and pid.

A string representation of this instance including name and pid.

Definition Classes
Process -> Any
Inherited from
Process
final def update(signal: Signal, sender: Process): Unit

Called by ctx to update lastSender and call process.

Called by ctx to update lastSender and call process.

Inherited from
Process

Inherited fields

Inherited from
Generator
Inherited from
Generator
final val pid: Int

A process identity number that is unique for this process instance.

A process identity number that is unique for this process instance.

Inherited from
Process