@Override
	public void run() {
		listenerMC = new SocketListener(socketMC, this);
		listenerMDB = new SocketListener(socketMDB, this);
		listenerMDR = new SocketListener(socketMDR, this);
		Thread threadMC = new Thread(listenerMC);
		Thread threadMDB = new Thread(listenerMDB);
		Thread threadMDR = new Thread(listenerMDR);
		threadMC.start();threadMDB.start();threadMDR.start();

		DistributedBackupSystem.tManager.executeTask(TaskTypes.CHECKCHUNK,"",0);
			
		while(!done) {
			if(receivedQueue.size() != 0) {
				synchronized(this) {
					DistributedBackupSystem.tManager.executeTask(receivedQueue.get(0));
					receivedQueue.remove(0);
				}
			}
		}
	};