Exemplo n.º 1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="fpdb"> A flight Plans data base. </param>
 /// <param name="fsdb"> A flight servers data base. </param>
 /// <param name="sdb"> A servers data base. </param>
 public FlightsHandler(IFlightsDB fpdb, IFlightsServersDB fsdb, IServersDB sdb)
 {
     flightsDB        = fpdb;
     flightsServersDB = fsdb;
     serversDB        = sdb;
 }
Exemplo n.º 2
0
 /// <summary>
 /// A constructor.
 /// </summary>
 /// <param name="serversDB"> The database stores the uris of the external seervers. </param>
 /// <param name="flightsServersDB"> The database stores the connections between the external
 /// flights and the external servers. </param>
 public ServersController(IServersDB serversDB, IFlightsServersDB flightsServersDB)
 {
     this.serversDB        = serversDB;
     this.flightsServersDB = flightsServersDB;
 }