Class JobArrival
java.lang.Object
|
+----Device
|
+----JobArrival
- public class JobArrival
- extends Device
-
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.
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