Exemplo n.º 1
0
        public static void concurrentRun()
        {
            Console.Out.WriteLine("[Server] A sample server, concurrent version ...");
            ConcurrentServer server = new ConcurrentServer();

            server.prepareServer();
        }
        public static void concurrentRun()
        {
            Console.Out.WriteLine("[Server] A concurrent version of the sequential server");
            ConcurrentServer serverConcurrent = new ConcurrentServer();

            serverConcurrent.prepareServer();
        }