public JobExecutor(IJob job, SocketSender updater, int id) {
		this.updateable = updater;
		this.job = job;
		this.id = id;
		if (job instanceof CombineJob)
			type = JobType.COMBINE;
		else if (job instanceof CompressJob)
			type = JobType.COMPRESS;
		else if (job instanceof DownloadJob)
			type = JobType.DOWNLOAD;
		else if (job instanceof ForwardJob)
			type = JobType.FORWARD;
		else if (job instanceof WaitForResultsJob)
			type = JobType.WAITRESULT;
		else
			type = JobType.UNKNOWN;
	}