public HttpSever(Kiosks kiosks)
        {
            Kiosks = kiosks;
            StartListeningForImages();

            ImagesToCreate = new string[NUMBER_REQUESTS_ALLOWED]; // number of requested loaded at once
        }
示例#2
0
        static void Main(string[] args)
        {
            kiosks = new Kiosks();
            //kiosks.findAllKioskOnNetwork();

            // create http server object to listen for request from
            // the transpix clients
            HttpSever HttpServer = new HttpSever(kiosks);

            Console.ReadLine();
        }