Esempio n. 1
0
        public FloodgateActor(FloodgateSettings settings)
        {
            _settings = settings;
            int wsize = _settings.WindowSize;

            Window           = new FloodgateTimeframe[wsize];
            NextTimeframe    = 0;
            CurrentTimeframe = wsize - 1;
            for (int i = 0; i < Window.Length; i++)
            {
                Window[i].ReceivedDate = DateTime.MinValue.Ticks;
            }
        }
Esempio n. 2
0
 public FloodgateOrchestrator(FloodgateSettings settings)
 {
     _settings = settings;
 }