se.ericsson.eto.norarc.javaframe
Class Scheduler

java.lang.Object
  extended byse.ericsson.eto.norarc.javaframe.Scheduler
All Implemented Interfaces:
java.lang.Runnable

public class Scheduler
extends java.lang.Object
implements java.lang.Runnable

The scheduling process. The Scheduler is associated one-one with a Thread

See Also:
Thread

Field Summary
 Trace trc
           
 
Constructor Summary
Scheduler()
          Associates this Scheduler with a default Trace object
Scheduler(Trace trcob)
          Associates this Scheduler with the given Trace generator object
 
Method Summary
protected  void readyFSM(StateMachine sm)
          Enables the given FSM for inspection by this Scheduler.
 void run()
          The actual state machinery execution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trc

public Trace trc
Constructor Detail

Scheduler

public Scheduler()
Associates this Scheduler with a default Trace object


Scheduler

public Scheduler(Trace trcob)
Associates this Scheduler with the given Trace generator object

Parameters:
trcob - if null then generate a default Trace object, otherwise associate with the given one
See Also:
Trace
Method Detail

readyFSM

protected final void readyFSM(StateMachine sm)
Enables the given FSM for inspection by this Scheduler.

Parameters:
sm - assumed to be != null.

run

public final void run()
The actual state machinery execution

Specified by:
run in interface java.lang.Runnable