fSocket= fServerSocket.accept(); fBufferedReader= new BufferedReader(new InputStreamReader(fSocket.getInputStream())); fWriter= new PrintWriter(fSocket.getOutputStream(), true);
fSocket= fServerSocket.accept(); try { fBufferedReader= new BufferedReader(new InputStreamReader(fSocket.getInputStream(), "UTF-8")); } catch (UnsupportedEncodingException e) { fBufferedReader= new BufferedReader(new InputStreamReader(fSocket.getInputStream())); } try { fWriter= new PrintWriter(new OutputStreamWriter(fSocket.getOutputStream(), "UTF-8"), true); } catch (UnsupportedEncodingException e1) { fWriter= new PrintWriter(new OutputStreamWriter(fSocket.getOutputStream()), true); }
		public void run() {			try {				if (fDebug)					System.out.println("Creating server socket "+fPort); //$NON-NLS-1$				fServerSocket= new ServerSocket(fPort);				fSocket= fServerSocket.accept();								fBufferedReader= new BufferedReader(new InputStreamReader(fSocket.getInputStream()));				fWriter= new PrintWriter(fSocket.getOutputStream(), true);				String message;				while(fBufferedReader != null && (message= readMessage(fBufferedReader)) != null)					receiveMessage(message);			} catch (SocketException e) {				notifyTestRunTerminated();			} catch (IOException e) {				System.out.println(e);				// fall through			}			shutDown();		}