public void run() {
		if (initialized) {
			try {
				requestEcho(ECHO_ENABLED); 				
				StringBuffer input = null;
				while (continueProcessing) {
					showPrompt(); 
					do {
						if ((input = getInput()) == null) {
							close();
							return;
						}
					} while(input.length() == 0);
					processInput(input.toString());
				}
				close();
			} catch (Exception e) {
				e.printStackTrace();
			} finally {
				System.out.println("--- Client:connection close");
			}
		}
	}