/* Constructor. */
 public FlightsController(IFlightPlanManager manager,
                          IServersManager serverManager,
                          IRequestHandler handler)
 {
     this.serversManager = serverManager;
     this.planManager    = manager;
     this.requestHandler = handler;
 }
示例#2
0
        public ProxyServer(int listeningPort, ILogger logger, IServersManager serversManager)
        {
            this.listeningPort = listeningPort;

            this.logger         = logger;
            this.serversManager = serversManager;

            tcpListener      = new TcpListener(IPAddress.Any, this.listeningPort);
            cts              = new CancellationTokenSource();
            connectedClients = 0;
        }
        public TimescaleInfrastructure(
            ILogsManager logsManager,
            IDbFactory dbFactory,
            ITimescaleInfrastructureHelpers timescaleInfrastructureHelpers,
            ISettingsManager settingsManager,
            IServersManager serversManager)
        {
            _logsManager = logsManager;

            _dbFactory = dbFactory;

            _timescaleInfrastructureHelpers = timescaleInfrastructureHelpers;

            _settingsManager = settingsManager;

            _serversManager = serversManager;
        }
 /* Constructor. */
 public ServersController(IServersManager manager)
 {
     this.serversManager = manager;
 }
 /* Constructor. */
 public MyRequestHandler(IServersManager manager)
 {
     this.serversManager = manager;
 }
示例#6
0
 public FlightsController(IFlightsManager myFlightsManagerInput,
                          IServersManager serversManagerInput)
 {
     myFlightsManager = myFlightsManagerInput;
     serversManager   = serversManagerInput;
 }
示例#7
0
 public ServersController(IServersManager iServerManager)
 {
     serverManager = iServerManager;
 }
 public ServersController(IServersManager managerInput)
 {
     manager = managerInput;
 }
 /* Constructor. */
 public HelperController(IFlightPlanManager planManager,
                         IServersManager serversGetManager)
 {
     this.flightPlanManager = planManager;
     serversManager         = serversGetManager;
 }