public InProcessKlingerScheduleServer(EnvironmentValidatorRepository repository, TimeSpan schedulerDelay,
                                              TimeSpan schedulerInterval)
        {
            EventChannel = new ChannelAdapter();

            _fiber             = new PoolFiber();
            _scheduler         = new TimerScheduler(_fiber);
            _repository        = repository;
            _schedulerDelay    = schedulerDelay;
            _schedulerInterval = schedulerInterval;
        }
Exemplo n.º 2
0
 public StatusChannel(EnvironmentValidatorRepository repo)
 {
     _repo  = repo;
     _fiber = new PoolFiber();
 }
Exemplo n.º 3
0
 public StatusConnectionHandler(EnvironmentValidatorRepository repo) :
     base("^/status", "GET")
 {
     _statusChannel = new StatusChannel(repo);
 }
Exemplo n.º 4
0
 public InProcessKlingerWebServer(int port, EnvironmentValidatorRepository repo)
 {
     _port = port;
     _repo = repo;
 }