RunServer() public method

public RunServer ( IList args ) : void
args IList
return void
Beispiel #1
0
        private static int Server(IList <string> args)
        {
            Driver d = new Driver();


            try {
                d.RunServer(args);
            } catch (Exception e) {
                Console.WriteLine("error while serving application:");
                Console.WriteLine(e);
                return(1);
            }

            return(0);
        }
Beispiel #2
0
        private static int Server(IList<string> args)
        {
            Driver d = new Driver ();

            try {
                d.RunServer (args);
            } catch (Exception e) {
                Console.WriteLine ("error while serving application:");
                Console.WriteLine (e);
                return 1;
            }

            return 0;
        }