public EventGenerator(Controller ctrl, long unique) { this.unique = unique; this.ctrl = ctrl; }
// 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()); } } }
public EventViewTask(Controller ctrl, long eventId) { this.eventId = eventId; this.ctrl = ctrl; }