Class JobArrival

java.lang.Object
   |
   +----Device
           |
           +----JobArrival

public class JobArrival
extends Device

Method Index

 o start(Job, int)
Read the next (or first) job description from the input file, skipping molformed lines, and make it the current job, with a simulated interrupt occurring at the arrival time of the job.

Methods

 o start
 public void start(Job j,
                   int dummy)
Read the next (or first) job description from the input file, skipping molformed lines, and make it the current job, with a simulated interrupt occurring at the arrival time of the job. If no more valid lines appear in the file, schedule an interrupt at time inifinity.

Overrides:
start in class Device