public SlaveMessenger(TaskTracker tracker) {
		this.tracker = tracker;
		this.commModule = new CommModule();
		this.toHost = Configuration.MASTER_ADDRESS;
		this.toPort = Configuration.SERVER_PORT;
		this.sleepInterval = Configuration.HEART_BEAT_INTERVAL;
		this.retryCount = 0;
		this.retryNum = Configuration.RETRY_NUM;
		this.slaveID = -1;
		// register the slave to the master as the first message
		registerSlave();
	}