/*
 * Created on 25.05.2005
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */

/**
 * @author Home
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */

public class Client extends Thread{
	
	private int clID;
	private Printer pr;
	
	public Client(int clID, Printer pr){this.clID=clID;this.pr=pr;}
		
	public void run()
	{
		// Druckaufträge generieren
		for(int i=0; i<1; i++)
		{
			pr.announcePrintJob("ClientNr:" + clID + "_" + "FileNr:" + i);
			System.out.println("ClientNr:" + clID + "_" + "FileNr:" + i + " in Auftrag gegeben");			
		}
	}
}
