Exemple #1
0
 public EventGenerator(Controller ctrl, long unique)
 {
     this.unique = unique;
     this.ctrl = ctrl;
 }
Exemple #2
0
        // Main
        // Main entry point for the application.
        //
        static void Main(string[] args)
        {
            // Create a new Program and launch.

            //(new Program()).Run(args);
            using (Controller controller = new Controller())
            {
                try
                {
                    controller.configure(args);
                    controller.init();
                    controller.run();
                }
                //catch (InterruptedException e) {
                //    System.out.println("JNuoTest interrupted - exiting");
                //}
                catch (Exception e)
                {
                    Console.WriteLine("Exiting with fatal error: " + e.ToString());
                    //e.printStackTrace(System.out);
                    Console.WriteLine(e.StackTrace.ToString());
                }
            }
        }
Exemple #3
0
 public EventViewTask(Controller ctrl, long eventId)
 {
     this.eventId = eventId;
     this.ctrl = ctrl;
 }