public void run() {
		Message message;
		MessageObject messageObject;
		Socket socket;
		try {
			while (true) {
				socket = socketServeur.accept();
				System.out.println("Connection de " + socket);
				synchronized (outputStreams) {
					outputStreams.put(socket,
							new DataOutputStream(socket.getOutputStream()));
					BufferedReader inStream = new BufferedReader(new InputStreamReader(socket.getInputStream()));
					String messageData = inStream.readLine();
					if(messageData.contains("SetBet")){
						
						messageObject = new MessageObject(this, socket, messageData);
						pool.addTask(messageObject);
					}
					else{
						message = new Message(this, socket, messageData);
						pool.addTask(message);
					}
				}
			}
		} catch (SocketTimeoutException s) {
			System.out.println("Timeout waiting for client...");
		} catch (IOException e) {
			e.printStackTrace();
			// break;
		}
	}