Exemplo n.º 1
0
        //start
        public virtual void Start()
        {
            if (_hubState.State == SwitchState.Started)
            {
                return;
            }
            _hubState.State = SwitchState.Started;

            _eventQueue.RestoreFromTemporaryStorage();
            _dispatchQueue.RestoreFromTemporaryStorage();

            _signalEndpoints.ForEach(x => x.Start());
            _regularJobTimers.ForEach(x => x.Start());
        }