public void run() {

		while (!Thread.currentThread().isInterrupted()) {
			//TODO aparentemetne isso n funfa^
			int sorteado;
			if ((sorteado = sorteio.sorteia()) != -1) {
				// for (BingoClient c : clients) {
				// try {
				// c.recebeBola(sorteado);
				// } catch (RemoteException e) {
				// // TODO Auto-generated catch block
				// e.printStackTrace();
				// }
				// }
				for (Map.Entry<BingoClient, Ticket> entry : clients.entrySet()) {
					try {
						entry.getKey().recebeBola(sorteado);
					} catch (RemoteException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
				}
				try {
					Thread.sleep(200);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			} else {
				for (Map.Entry<BingoClient, Ticket> entry : clients.entrySet()) {
					try {
						entry.getKey().recebeMensagem("All numbers have been drawn.");
					} catch (RemoteException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
				}
				Thread.currentThread().interrupt();
			}
		}
		
	}