Example #1
0
        /// <summary>Print the specified job event to the console.</summary>
        /// <param name="jobEvent">the job event to print</param>
        /// <param name="type">the type of event</param>
        public void WriteEvent(JobEvent jobEvent, string type)
        {
            JPPFJob job = jobEvent.getJob();

            java.util.List tasks = jobEvent.getJobTasks();
            Console.WriteLine("[.Net] Job '" + job.getName() + "' " + type + (tasks != null ? " with " + tasks.size() + " tasks" : ""));
        }
Example #2
0
 /// <summary>Print a console message describing a received event notification</summary>
 /// <param name="positions">the positions in the job of the tasks that were disptached of whose reuslts have been received</param>
 /// <param name="type">a string describing the type of even notification</param>
 private void WriteEvent(JobEvent jobEvent, string type)
 {
     Console.WriteLine("[.Net] dispatcher: Job '" + jobEvent.getJob().getName() + "' " + type + " with " + jobEvent.getJobTasks().size() + " tasks");
 }