@Override
	public void run() {
		try {
			bw = new BufferedReader(new InputStreamReader(
					client.getInputStream()));

			try {
				while (true) {
					String line = bw.readLine();
					server.handleMessage(clientNR, line);
				}
			} catch (IOException e) {
				e.printStackTrace();
			}

		} catch (IOException e1) {
			e1.printStackTrace();
		}
	}