コード例 #1
0
 /* 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;
        }
コード例 #3
0
        public TimescaleInfrastructure(
            ILogsManager logsManager,
            IDbFactory dbFactory,
            ITimescaleInfrastructureHelpers timescaleInfrastructureHelpers,
            ISettingsManager settingsManager,
            IServersManager serversManager)
        {
            _logsManager = logsManager;

            _dbFactory = dbFactory;

            _timescaleInfrastructureHelpers = timescaleInfrastructureHelpers;

            _settingsManager = settingsManager;

            _serversManager = serversManager;
        }
コード例 #4
0
 /* Constructor. */
 public ServersController(IServersManager manager)
 {
     this.serversManager = manager;
 }
コード例 #5
0
 /* 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;
 }
コード例 #8
0
 public ServersController(IServersManager managerInput)
 {
     manager = managerInput;
 }
コード例 #9
0
 /* Constructor. */
 public HelperController(IFlightPlanManager planManager,
                         IServersManager serversGetManager)
 {
     this.flightPlanManager = planManager;
     serversManager         = serversGetManager;
 }