Ejemplo n.º 1
0
 internal ReactorBase(string uniqueName, object reactorState, IReactorListener listener)
 {
     Name          = uniqueName;
     State         = reactorState;
     eventQueue    = new EventQueue();
     scheduler     = new EventCoroutineScheduler(eventQueue);
     this.listener = listener;
 }
Ejemplo n.º 2
0
 protected Reactor(string uniqueName, IReactorListener listener = null)
     : base(uniqueName, new TState(), listener)
 {
 }