home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-02-20 | 695 b | 34 lines |
-
- package examples.computer;
-
-
- import simula.*;
- import simula.simset.* ;
- import simula.simset.simulation.*;
- import simula.random.* ;
-
- /**
- * The job is a process wich requests memory pages
- * @author Andrea Poltronieri
- * @version 1.0 12 Feb 1998
- */
-
- public class Job extends simula.simset.Link {
- /** The active simulation */
- public ComputerSimulation sim ;
- /** Pages requeste by this job */
- public int req ;
-
-
- /**
- * @param _sim The active Simulation
- * @param req Number of pages needed
- * @exception SimulaException If any error occurs
- */
-
- public Job (ComputerSimulation sim, int req) throws SimulaException {
- super();
- this.sim=sim ;
- this.req=req ;
- }
- }