Пример #1
0
        static void Main(string[] args)
        {
            PyroProxy proxy;

            if (args.Length > 0)
            {
                proxy = StartClient(args[0]);
            }
            else
            {
                proxy = StartClient("PYRO:exec@localhost:7543");
            }

            Console.WriteLine("**********************************************");
            Console.WriteLine("***  Welcome to Events Agenda Application  ***");
            Console.WriteLine("**********************************************");

            CommandLineInterface cli = new CommandLineInterface(proxy);

            cli.HandleCliStart();

            proxy.close();
        }