Esempio n. 1
0
        static void Main(string[] args)
        {
            var stub = new Stub();

            var http = new ViaHttp();
            var tcp  = new ViaTcp();
            var udp  = new ViaHttp();

            http.Configure();
            udp.Configure();
            tcp.Configure();

            Log.Information("Simulation running, press any key to exit.");

            stub.Run();

            Console.ReadLine();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var stub = new Stub();

            var http = new ViaHttp();
            var tcp = new ViaTcp();
            var udp = new ViaHttp();

            http.Configure();
            udp.Configure();
            tcp.Configure();

            Log.Information("Simulation running, press any key to exit.");

            stub.Run();

            Console.ReadLine();
        }