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